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

rails generate rspec:install generates a slim spec_helper.rb and a more rails conventional rails_spec_helper.rb #890

Closed
alindeman opened this issue Dec 23, 2013 · 2 comments
Milestone

Comments

@alindeman
Copy link
Contributor

See https://github.com/rspec/rspec-core/pull/1219/files for discussion

@myronmarston
Copy link
Member

One subtlety to consider is this line in the generated spec_helper.rb:

# This file was generated by the `rspec --init` command.

...which will not be true when using the rspec-rails generator. Might be worth gsubbing that out, or changing ProjectInitializer in rspec-core to accept an injected cli_command arg or something.

@cupakromer
Copy link
Member

Closing this in favor of #990

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