Sha256: 5f538545ef6b8e4e029947d309da1065645b64a9c0d2092b73b52d70419253fb

Contents?: true

Size: 517 Bytes

Versions: 10

Compression:

Stored size: 517 Bytes

Contents

Given /^the following profiles? (?:are|is) defined:$/ do |profiles|
  write_file 'cucumber.yml', profiles
end

Then /^the (.*) profile should be used$/ do |profile|
  step 'the stdout should contain:', profile
end

Then /^exactly these files should be loaded:\s*(.*)$/ do |files|
  expect(all_stdout.scan(/^  \* (.*\.rb)$/).flatten).to eq files.split(/,\s+/)
end

Then /^exactly these features should be run:\s*(.*)$/ do |files|
  expect(all_stdout.scan(/^  \* (.*\.feature)$/).flatten).to eq files.split(/,\s+/)
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
cucumber-2.99.0 features/lib/step_definitions/profile_steps.rb
mobiusloop-0.1.5 features/lib/step_definitions/profile_steps.rb
cucumber-2.4.0 features/lib/step_definitions/profile_steps.rb
mobiusloop-0.1.3 features/lib/step_definitions/profile_steps.rb
mobiusloop-0.1.2 features/lib/step_definitions/profile_steps.rb
cucumber-2.3.3 features/lib/step_definitions/profile_steps.rb
cucumber-2.3.2 features/lib/step_definitions/profile_steps.rb
cucumber-2.3.1 features/lib/step_definitions/profile_steps.rb
cucumber-2.3.0 features/lib/step_definitions/profile_steps.rb
cucumber-2.2.0 features/lib/step_definitions/profile_steps.rb