[rspec-users] rspec2 - set example as pending?

Nicolás Sanguinetti godfoca at gmail.com
Thu Apr 22 18:19:42 EDT 2010


Yeah, just that now you define your entire example as pending. So instead of:

it "does something" do
  pending
  this_will_fail
end

You now do

pending "does something" do
  this_will_fail
end

Cheers

On Thu, Apr 22, 2010 at 7:11 PM, John Dell <spovich at gmail.com> wrote:
> I'm trying to mark an example as pending w/rspec2 & rails3, but I'm getting:
>
> Failure/Error: pending
> undefined local variable or method `pending' for
> #<Rspec::Core::ExampleGroup::Nested_1:0x10a737c50 @__memoized={}>
>
> Is 'pending' pending for rspec2? ;-)
>
> Thanks,
> John
>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list