That did the trick!

Thank You!

On Thu, May 7, 2009 at 4:33 PM, Matt Wynne <m...@mattwynne.net> wrote:

>
> On 7 May 2009, at 21:28, keith shaw wrote:
>
>  Hey All,
>>
>> I am trying to set up cucumber to use the multiline step argument.  I have
>> my test posted here : http://gist.github.com/108328.
>>
>
> You need to use 'Scenario Outline', not 'Scenario' if you're using an
> Examples table. I think that's the problem.
>
>   I am currently using cucumber version 0.2.3.  When I run the test the
>> browser opens for a split second and I receive the following error :
>>
>> /Library/Ruby/Gems/1.8/gems/cucumber-0.2.3/bin/../lib/cucumber/parser/treetop_ext.rb:42:in
>> `parse_or_fail': test/podPackage.feature:13:3: Parse error, expected one of
>> "\n", "\r", "\"\"\"", "#", "Given", "When", "Then", "And", "But", "@",
>> "Scenario", "Scenario Outline". (Cucumber::Parser::SyntaxError)
>>    from
>> /Library/Ruby/Gems/1.8/gems/cucumber-0.2.3/bin/../lib/cucumber/parser/treetop_ext.rb:28:in
>> `parse_file'
>>    from
>> /Library/Ruby/Gems/1.8/gems/cucumber-0.2.3/bin/../lib/cucumber/parser/treetop_ext.rb:33:in
>> `open'
>>    from
>> /Library/Ruby/Gems/1.8/gems/cucumber-0.2.3/bin/../lib/cucumber/parser/treetop_ext.rb:33:in
>> `parse_file'
>>    from
>> /Library/Ruby/Gems/1.8/gems/cucumber-0.2.3/bin/../lib/cucumber/cli/main.rb:55:in
>> `load_plain_text_features'
>>    from
>> /Library/Ruby/Gems/1.8/gems/cucumber-0.2.3/bin/../lib/cucumber/cli/main.rb:54:in
>> `each'
>>    from
>> /Library/Ruby/Gems/1.8/gems/cucumber-0.2.3/bin/../lib/cucumber/cli/main.rb:54:in
>> `load_plain_text_features'
>>    from
>> /Library/Ruby/Gems/1.8/gems/cucumber-0.2.3/bin/../lib/cucumber/cli/main.rb:37:in
>> `execute!'
>>    from
>> /Library/Ruby/Gems/1.8/gems/cucumber-0.2.3/bin/../lib/cucumber/cli/main.rb:20:in
>> `execute'
>>    from /Library/Ruby/Gems/1.8/gems/cucumber-0.2.3/bin/cucumber:6
>>    from /usr/bin/cucumber:19:in `load'
>>    from /usr/bin/cucumber:19
>>
>> Do I have my test set up correctly?  Any help is greatly appreciated.
>>
>> Thanks,
>>
>> Keith
>> _______________________________________________
>> rspec-users mailing list
>> rspec-users@rubyforge.org
>> http://rubyforge.org/mailman/listinfo/rspec-users
>>
>
> Matt Wynne
> http://beta.songkick.com
> http://blog.mattwynne.net
>
>
>
> _______________________________________________
> 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