Sha256: 0bb5cb102610f658629b431bc0250ce220ace027a2dbea9df9ff67b472dacfc4

Contents?: true

Size: 670 Bytes

Versions: 5

Compression:

Stored size: 670 Bytes

Contents

Given(/^only rspec-core is installed$/) do
  if RUBY_VERSION.to_f >= 1.9 # --disable-gems is invalid on 1.8.7
    # Ensure the gem versions of rspec-mocks and rspec-expectations
    # won't be loaded if available on the developers machine.
    set_environment_variable('RUBYOPT', ENV['RUBYOPT'] + ' --disable-gems')
  end

  # This will make `require_expect_syntax_in_aruba_specs.rb` (loaded
  # automatically when the specs run) remove rspec-mocks and
  # rspec-expectations from the load path.
  set_environment_variable('REMOVE_OTHER_RSPEC_LIBS_FROM_LOAD_PATH', 'true')
end

Given(/^rspec-expectations is not installed$/) do
  step "only rspec-core is installed"
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
opal-rspec-1.1.0.alpha3 rspec-core/upstream/features/step_definitions/core_standalone_steps.rb
opal-rspec-1.1.0.alpha2 rspec-core/upstream/features/step_definitions/core_standalone_steps.rb
opal-rspec-1.1.0.alpha1 rspec-core/upstream/features/step_definitions/core_standalone_steps.rb
opal-rspec-1.0.0 rspec-core/upstream/features/step_definitions/core_standalone_steps.rb
opal-rspec-1.0.0.alpha1 rspec-core/upstream/features/step_definitions/core_standalone_steps.rb