Sha256: 639079df2e8e3c2f3fcfca6938a20b9855ee23d1307b115ea49da9e6470c2e02
Contents?: true
Size: 1.24 KB
Versions: 3
Compression:
Stored size: 1.24 KB
Contents
require 'rspec/core' require 'rspec/core/formatters' require 'rspec/core/formatters/console_codes' require 'rspec/core/formatters/documentation_formatter' require 'rspec/core/example_group' require 'rspec/core/reporter' require 'rspec/core/world' require 'rspec/example_steps/documentation_formatter' require 'rspec/example_steps/example_group' require 'rspec/example_steps/notification' require 'rspec/example_steps/reporter' require 'rspec/example_steps/world' 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 if formatter = RSpec.world.reporter.find_registered_formatter(RSpec::Core::Formatters::DocumentationFormatter) RSpec.world.reporter.register_listener formatter, :example_started, :example_step_passed, :example_step_pending, :example_step_failed end require 'rspec/example_steps/shared_steps' include RSpec::ExampleSteps::SharedSteps
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rspec-example_steps-3.0.2 | lib/rspec/example_steps.rb |
rspec-example_steps-3.0.1 | lib/rspec/example_steps.rb |
rspec-example_steps-3.0.0 | lib/rspec/example_steps.rb |