Module: RSpec::Retryable

Defined in:
lib/rspec/retryable.rb,
lib/rspec/retryable/example.rb,
lib/rspec/retryable/payload.rb,
lib/rspec/retryable/version.rb,
lib/rspec/retryable/handlers.rb,
lib/rspec/retryable/metadata.rb

Defined Under Namespace

Modules: Example Classes: Handlers, Metadata, Payload

Constant Summary collapse

VERSION =
"0.3.0"

Class Method Summary collapse

Class Method Details

.bindObject



14
15
16
17
18
# File 'lib/rspec/retryable.rb', line 14

def bind
  require 'rspec/core'

  ::RSpec::Core::Example.prepend(RSpec::Retryable::Example)
end

.handlersObject



10
11
12
# File 'lib/rspec/retryable.rb', line 10

def handlers
  @handlers ||= Handlers.new
end