On Tue, Sep 9, 2008 at 8:46 PM, David Chelimsky <[EMAIL PROTECTED]> wrote: > On Tue, Sep 9, 2008 at 12:47 PM, aslak hellesoy > <[EMAIL PROTECTED]> wrote: >> On Tue, Sep 9, 2008 at 7:16 PM, David Chelimsky <[EMAIL PROTECTED]> wrote: >>> Aslak - I think Matt is looking for this: >>> >>> Given /blah/ do >>> pending >>> end >>> >> >> I'm not crazy about this "feature". We already have a pending >> mechanism for steps (not defining them). What does this bring to the >> table over just not defining a step? >> >>> Matt - I'm pretty sure that will work - give it a shot, OK? >>> >> >> That won't work. It will raise a "undefined local variable or method >> `pending'" > > I get this: > > Given I am logged in as a registered member > TODO (Spec::Example::ExamplePendingError) > > for this: > > Given /I am logged in as a registered member/ do > pending > end >
That's really odd - I don't get that if I add it to this step: http://github.com/aslakhellesoy/cucumber/tree/master/examples/tickets/features/steps/tickets_steps.rb And run "rake features" from examples/tickets I haven't added any knowledge about pending/Spec::Example::ExamplePendingError to Cucumber so I'm puzzled... Aslak >> >> Aslak >> >>> On Tue, Sep 9, 2008 at 12:09 PM, Aslak Hellesøy >>> <[EMAIL PROTECTED]> wrote: >>>> A plain text step with no matching step definition is pending. >>>> >>>> Sent from my iPhone >>>> >>>> On 9. sep.. 2008, at 19.05, "David Chelimsky" <[EMAIL PROTECTED]> wrote: >>>> >>>>> Have you tried? >>>>> >>>>> On Tue, Sep 9, 2008 at 12:01 PM, Matt Wynne <[EMAIL PROTECTED]> wrote: >>>>>> >>>>>> I love the way I can throw a call to pending() in the top of an >>>>>> unfinished >>>>>> RSpec example and stop it from failing the build. >>>>>> Is there a similar way to do such a thing with good ole' cucumber? >>>>>> >>>>>> cheers, >>>>>> Matt >>>>>> ---- >>>>>> http://blog.mattwynne.net >>>>>> http://songkick.com >>>>>> In case you wondered: The opinions expressed in this email are my own and >>>>>> do >>>>>> not necessarily reflect the views of any former, current or future >>>>>> employers >>>>>> of mine. >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> 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 >>>> >>>> _______________________________________________ >>>> 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 >>> >> _______________________________________________ >> 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 > _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users