On Wed, Nov 16, 2011 at 5:45 PM, Chris Habgood <chabg...@gmail.com> wrote:
> this group is for rspec
>

The Cucumber  list -> http://groups.google.com/group/cukes

> On Wed, Nov 16, 2011 at 11:34, Vin MR <li...@ruby-forum.com> wrote:
>>
>> I'm new with Ruby and Cucumber.  I've tried this simple test, but it
>> didn't work for me
>>
>> Given ....
>> When I enter ABC on keyboard
>> Then ...
>>
>>
>> And here is the ruby code
>> When /^I enter "([^\"]*) on keyboard$/ do |input|
>> .....
>> end
>>
>>
>>
>> I always get a complain when executing the test
>> "You can implement step definitions for undefined steps with there
>> snippets:
>>
>> When /^I enter ABC on keyboard$/ do
>>  pending # express the regexp above with the code you wish you had
>> end
>> "
>>
>> And the code above was not executed.
>>
>>
>> Can anyone tell what I've done wrong here?
>>
>> Thanks.
>>
>> --
>> Posted via http://www.ruby-forum.com/.
>> _______________________________________________
>> rspec-users mailing list
>> rspec-users@rubyforge.org
>> http://rubyforge.org/mailman/listinfo/rspec-users
>
>
>
> --
> "In matters of style, swim with the current; in matters of principle, stand
> like a rock."
> Thomas Jefferson
>
>
> _______________________________________________
> rspec-users mailing list
> rspec-users@rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to