lib/rspec-steps/duckpunch/object-extensions.rb in rspec-steps-0.4.1 vs lib/rspec-steps/duckpunch/object-extensions.rb in rspec-steps-1.0.0

- old
+ new

@@ -1,8 +1,10 @@ require 'rspec-steps/duckpunch/example-group' require 'rspec-steps/stepwise' require 'rspec/core/shared_example_group' module RSpec::Core::SharedExampleGroup - alias :shared_steps :share_examples_for - alias :steps_shared_as :share_as + alias shared_steps shared_examples_for + if respond_to? :share_as + alias steps_shared_as share_as + end end