[rspec-users] Story Runner => Cucumber(duplicate steps)!

David Chelimsky dchelimsky at gmail.com
Tue Sep 23 12:31:37 EDT 2008


On Tue, Sep 23, 2008 at 11:18 AM, aidy lewis <aidy.lewis at googlemail.com> wrote:
> Hi,
>
> I am currently moving over my Watir Story Runner tests over to Cucumber.
>
> However, I have a verification_steps.rb that holds these two steps
>
>   Then "the user is at '$title' page" do |title|
>   browser.wait_until_includes(title)
>   end
>
>    Given "the user is at '$title' page" do |title|
>   browser.wait_until_includes(title)
>   end
>
>
> I think these *are* both valid 'Whens' and 'Thens', but I am getting a
> duplicate error from Cucumber.

I see a Given and a Then. Can you clarify?

>
> Any opinions or suggestions please?
>
> Aidy


More information about the rspec-users mailing list