[rspec-users] [cucumber] -n command line option looks in every feature file
Ben Mabey
ben at benmabey.com
Fri May 8 22:06:32 EDT 2009
Mark Wilden wrote:
> Running 'cucumber -n "asdf" features/challenge.feature' seems to load
> every feature file from the Rails root on down. In particular, it
> loads example features in vendor/gems like Ben's email_spec which
> requires Rails 2.2.2. This makes the command fail for us, since we've
> frozen 2.3.2. I would imagine it's also loading RSpec's own features,
> since that gem is also frozen in our app.
>
> I don't know if this is defined behavior or not, but it was
> surprising. It makes the -n option less useful, IMO. What does the
> filespec do in this case?
>
> ///ark
What do you mean by "filespec"? Regardless, I agree with you that this
doesn't seem normal at all. Care to add a ticket for it?
Thanks,
Ben
More information about the rspec-users
mailing list