Module: RSpec::Steps

Extended by:
DSL
Defined in:
lib/rspec-steps/dsl.rb,
lib/rspec-steps/hook.rb,
lib/rspec-steps/lets.rb,
lib/rspec-steps/step.rb,
lib/rspec-steps/builder.rb,
lib/rspec-steps/modules.rb,
lib/rspec-steps/describer.rb,
lib/rspec-steps/step-list.rb,
lib/rspec-steps/step-result.rb

Defined Under Namespace

Modules: DSL Classes: Builder, Describer, Hook, Let, LetBang, ModuleExtension, ModuleInclusion, Step, StepList, StepResult

Constant Summary collapse

SharedSteps =
{}

Class Method Summary collapse

Methods included from DSL

shared_steps, steps

Class Method Details

.warningsObject



5
6
7
8
9
10
# File 'lib/rspec-steps/dsl.rb', line 5

def self.warnings
  @warnings ||= Hash.new do |h,warning|
    puts warning #should be warn, but RSpec complains
    h[warning] = true
  end
end