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 > > 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! > _______________________________________________ > 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