Sha256: c55cc86ccc259aa598744fa4ebd847e823dd02652946319351ef43aa3877f70a

Contents?: true

Size: 609 Bytes

Versions: 11

Compression:

Stored size: 609 Bytes

Contents

Given('a Gemfile with:') do |content|
  path = File.expand_path(current_dir + "/Gemfile")
  write_file path, content
  set_env "BUNDLE_GEMFILE", path
end

Then(/^it should (pass|fail)$/) do |result|
  assert_success result == 'pass'
end

Then(/^"([^"]*)" should not be required$/) do |file_name|
  expect(all_output).not_to include("* #{file_name}")
end

Then(/^"([^"]*)" should be required$/) do |file_name|
  expect(all_output).to include("* #{file_name}")
end

Then /^it fails before running features with:$/ do |expected|
  assert_matching_output("\\A#{expected}", all_output)
  assert_success(false)
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
cucumber-2.0.0 features/lib/step_definitions/aruba_steps.rb
cucumber-2.0.0.rc.5 features/lib/step_definitions/aruba_steps.rb
cucumber-2.0.0.rc.4 features/lib/step_definitions/aruba_steps.rb
cucumber-2.0.0.rc.3 features/lib/step_definitions/aruba_steps.rb
cucumber-2.0.0.rc.2 features/lib/step_definitions/aruba_steps.rb
cucumber-2.0.0.rc.1 features/lib/step_definitions/aruba_steps.rb
cucumber-2.0.0.beta.5 features/lib/step_definitions/aruba_steps.rb
cucumber-2.0.0.beta.4 features/lib/step_definitions/aruba_steps.rb
cucumber-2.0.0.beta.3 features/lib/step_definitions/aruba_steps.rb
cucumber-2.0.0.beta.2 features/lib/step_definitions/aruba_steps.rb
cucumber-2.0.0.beta.1 features/lib/step_definitions/aruba_steps.rb