[rspec-users] Is share_examples_for deprecated?

Pat Maddox mailinglists at patmaddox.com
Sat Mar 6 18:34:07 EST 2010


describe "something something", :shared => true do
  ...
end

describe "chunky bacon" do
  it_should_behave_like "something something"
end



On Mar 6, 2010, at 2:31 PM, Nick Hoffman wrote:

> API Dock says that "share_examples_for" is deprecated. If that's
> correct, what should we be using instead?
> 
> http://apidock.com/rspec/Spec/Extensions/Main/share_examples_for
> 
> Thanks,
> Nick
> -- 
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users



More information about the rspec-users mailing list