[rspec-users] regex help

Jonathan Linowes
Mon, 29 Dec 2008 04:59:29 -0000

Hi,
Could someone help me resolve this conflict:


Then the selected item should have a tag with
"Foo:"

  Multiple step definitions match "the selected item should have a
tag with \"Foo:\"": (Cucumber::Multiple)

features/step_definitions/page_builder_steps.rb:355:in `/^the
(selected|first|second|last) item should have a \<(.*)\> tag with
"(.*)"/''

features/step_definitions/browser_steps.rb:117:in `/^the (.*) should
have a \<(.*)\> tag with "(.*)"/''


Perhaps tell it to ignore any matches with " item" in it, but dont
know how

linoj