Pat Maddox wrote:
> describe "something something", :shared => true do
>   ...
> end
> 
> describe "chunky bacon" do
>   it_should_behave_like "something something"
> end

BTW, is rspec.info supposed to be up-to-date? It still recommends using 
"shared_examples_for".

http://rspec.info/documentation/
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to