module Spec::Extensions::Main
def share_examples_for(name, &block)
end
...
it "should do small edition stuff" do
it_should_behave_like "All Editions"
describe SmallEdition do
end
it "all editions behaviour" ...
share_examples_for "All Editions" do
== Examples
Creates an example group that can be shared by other example groups
def share_examples_for(name, &block) describe(name, :shared => true, &block) end