[rspec-users] Is share_examples_for deprecated?

Nick Hoffman lists at ruby-forum.com
Sat Mar 6 23:21:34 EST 2010


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/.


More information about the rspec-users mailing list