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

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

Comments

Projects
None yet
3 participants
Owner

myronmarston commented Dec 23, 2013

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.

Member

cupakromer commented Apr 28, 2014

Closing this in favor of #990

@cupakromer cupakromer closed this Apr 28, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment