jnicklas/turnip — Issue #32: Support files being counted twice
Author: joefiorini
Created: 2012-01-31 16:05:37+00:00
State: open

I store my step definitions in spec/support. I just upgraded to 0.3 from 0.2 (and Rails 3.2). All my features were passing on 0.2. I'm now seeing Ambiguous errors for every step in my suite. Looking into it further shows it's matching the step files twice, once with a full path and once with a relative path:

```ruby
[#, @regexp=/^I\ am\ signed\ in\ as\ a\ teacher$/>, params=[], block=#>, #, @regexp=/^I\ am\ signed\ in\ as\ a\ teacher$/>, params=[], block=#>]
```

Any thoughts on this?