Hey all,
The cucumber-rails generator generates config/environments/cucumber.rb
for
us, which means we don’t need to do any gem configuration. As things
stand
now, rspec-rails does not do the same thing for us. I’m thinking of
having
the generator update config/environments/test.rb, adding gem
configuration
to the bottom of the file if it doesn’t already have the configuration.
This would mean that all we need do is type “script/generate rspec” and,
assuming rspec-rails is installed on the system, the gem configuration
will
be set up (whereas now you have to manually add the gem configuration
yourself).
Questions:
1 - good idea?
2 - what are the drawbacks?