[rspec-users] 'it' duplicate example: BUG
chad at spicycode.com
Wed Nov 21 13:39:30 EST 2007
One of the recent trunk changesets modified the default behaviour to
fail fast if duplicate examples are detected within a single behaviour/
example group. This is basically letting you know you have to "it"
blocks in the behaviour with the same description.
Note: You may have this issue rise up if you have one in a shared
behaviour and accidental duplication in the file (that was my case
when I updated this morning).
On Nov 21, 2007, at 1:12 PM, Scott Taylor wrote:
> I svn up'ed this morning, to get the following message with rake spec:
> example_group_methods.rb:96:in `it': Duplicate example: 'should
> contain the total number of messages' (RuntimeError)
> Anyone have any ideas why this might be going on? My specs were all
> passing last night.
> Let me know if I should put this in the tracker.
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users