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