lib/rspec/example_steps.rb in rspec-example_steps-0.0.2 vs lib/rspec/example_steps.rb in rspec-example_steps-0.1.0
- old
+ new
@@ -1,16 +1,22 @@
require 'rspec/core/formatters/base_formatter'
require 'rspec/core/formatters/documentation_formatter'
require "rspec/core/example_group"
require 'rspec/core/reporter'
+require 'rspec/core/world'
require 'rspec/example_steps/base_formatter'
require 'rspec/example_steps/documentation_formatter'
require "rspec/example_steps/example_group"
require 'rspec/example_steps/reporter'
+require 'rspec/example_steps/world'
RSpec::Core::Formatters::BaseFormatter.send :include, RSpec::ExampleSteps::BaseFormatter
RSpec::Core::Formatters::DocumentationFormatter.send :include, RSpec::ExampleSteps::DocumentationFormatter
RSpec::Core::ExampleGroup.send :include, RSpec::ExampleSteps::ExampleGroup
RSpec::Core::Reporter.send :include, RSpec::ExampleSteps::Reporter
+RSpec::Core::World.send :include, RSpec::ExampleSteps::World
RSpec::Core::ExampleGroup.define_example_method :Steps, :with_steps => true
+
+require 'rspec/example_steps/shared_steps'
+include RSpec::ExampleSteps::SharedSteps