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

Load config file from current directory, if not exit load from defaults #123

Closed
wants to merge 1 commit into from

Conversation

tggo
Copy link

@tggo tggo commented Oct 24, 2014

No description provided.

@petems
Copy link
Owner

petems commented Oct 24, 2014

Oooh, I like this. Means you can keep .tugboat files in VCS and then have multiple accounts and such...

Could you add a spec for this, and update the README and I'd be happy to merge 👍

@tggo
Copy link
Author

tggo commented Oct 24, 2014

I can not imagine how it can be tested . Any ideas? I try to write .

@petems
Copy link
Owner

petems commented Oct 24, 2014

If you checkout config_spec.rb, there's already specs for loading up config, you could use something like https://github.com/defunkt/fakefs to stub multiple config files.

If you're not sure about it, I'll bring into a custom branch and I'll see if I can write the tests.

@petems petems mentioned this pull request Oct 24, 2014
@petems petems mentioned this pull request Jan 29, 2015
@petems
Copy link
Owner

petems commented Jan 31, 2015

Merged in #151 instead, thanks @TG0 for your contribution, sorry it took so long! 👍

@petems petems closed this Jan 31, 2015
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

Successfully merging this pull request may close these issues.

2 participants