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

Configuration instructions conflict with Cucumber(-Rails) instructions #136

Closed
gaustin opened this issue Aug 6, 2012 · 2 comments
Closed

Comments

@gaustin
Copy link

gaustin commented Aug 6, 2012

The README for database_cleaner states that you should do configuration in features/support/env.rb. This file says that it shouldn't be modified as it should be regenerated when upgrading cucumber-rails.

Is there a better place to put this configuration?

@bmabey
Copy link
Contributor

bmabey commented Aug 6, 2012

That documentation is stale but I I haven't used cucumber-rails (rails, in general) for a while so I'm a little unsure on how/if to update it. I always would put additions in env.rb and just copy and pasted my custom code after an upgrade.

@mattwynne, care to weigh in?

@mattwynne
Copy link
Contributor

The cucumber-rails generated version of env.rb should do this for you automatically anyway.

I'll write a patch for the README if I get a chance.

mattwynne added a commit to mattwynne/database_cleaner that referenced this issue Aug 7, 2012
bmabey added a commit that referenced this issue Aug 7, 2012
@bmabey bmabey closed this as completed Aug 7, 2012
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

3 participants