Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add global Suture.config method (and Suture.reset!) #25

Closed
searls opened this issue Aug 21, 2016 · 0 comments
Closed

Add global Suture.config method (and Suture.reset!) #25

searls opened this issue Aug 21, 2016 · 0 comments

Comments

@searls
Copy link
Member

searls commented Aug 21, 2016

Let folks override configuration for the life of the process. Any options set will be forwarded to Plan and TestPlan models and stick if they're valid.

Suture.config({:database_path => "some/file.db"})

Suture.create(…) # <- will use some/file.db

Suture.reset! #<- will revert to the default
@searls searls added this to the Button stuff up milestone Aug 21, 2016
@searls searls closed this as completed in c2925fe Aug 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant