Pending blocks

Would it be possible to have pending be accessible everywhere?

Curgem rently with

describe ‘’ do
pending ‘abc’ do
end
end

yields:

C:\dev\ruby\universal-scene-skipper\spec>spec small.spec
C:/dev/ruby/universal-scene-skipper/spec/small.spec:3: undefined
method pending' for Spec::Example::ExampleGroup::Subclass_1:Class (NoMethodError) from C:/installs/ruby-1.8.6-p388-i386-mingw32/lib/ruby/gems/ 1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:183:inmodule_eval’

I believe.
Thanks!

On Jul 14, 2010, at 7:44 PM, rogerdpack wrote:

Would it be possible to have pending be accessible everywhere?

Curgem rently with

describe ‘’ do
pending ‘abc’ do
end
end

In rspec-2, you can do this:

describe “something”, :pending => true do

end

And all the examples in that group are pending.

HTH,
David

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs