[rspec-users] pending blocks

rogerdpack rogerpack2005 at gmail.com
Wed Jul 14 20:44:32 EDT 2010


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:in
`module_eval'

I believe.
Thanks!


More information about the rspec-users mailing list