Sha256: 4983fa235624794c1c563abf68fc9c558e25c41015753e91706aaf1a3a99a199

Contents?: true

Size: 517 Bytes

Versions: 14

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 ran:\s*(.*)$/ do |files|
  expect(all_stdout.scan(/^  \* (.*\.feature)$/).flatten).to eq files.split(/,\s+/)
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
cucumber-2.1.0 features/lib/step_definitions/profile_steps.rb
cucumber-2.0.2 features/lib/step_definitions/profile_steps.rb
cucumber-2.0.1 features/lib/step_definitions/profile_steps.rb
cucumber-2.0.0 features/lib/step_definitions/profile_steps.rb
cucumber-2.0.0.rc.5 features/lib/step_definitions/profile_steps.rb
cucumber-2.0.0.rc.4 features/lib/step_definitions/profile_steps.rb
cucumber-2.0.0.rc.3 features/lib/step_definitions/profile_steps.rb
cucumber-2.0.0.rc.2 features/lib/step_definitions/profile_steps.rb
cucumber-2.0.0.rc.1 features/lib/step_definitions/profile_steps.rb
cucumber-2.0.0.beta.5 features/lib/step_definitions/profile_steps.rb
cucumber-2.0.0.beta.4 features/lib/step_definitions/profile_steps.rb
cucumber-2.0.0.beta.3 features/lib/step_definitions/profile_steps.rb
cucumber-2.0.0.beta.2 features/lib/step_definitions/profile_steps.rb
cucumber-2.0.0.beta.1 features/lib/step_definitions/profile_steps.rb