Sha256: ba09f2b45e1b79f1b783215056a4b9f893d37421dab1f60852e16c0276a69c58
Contents?: true
Size: 585 Bytes
Versions: 2
Compression:
Stored size: 585 Bytes
Contents
Given /^the "([^"]+)" command is:$/ do |command, content| write_command(command, content) end When /^I create "([^"]+)" with:$/ do |path, content| write_file(path, content) end When /^I run "([^"]+)"$/ do |command| run_simple(command) end Then /^the output should be "([^"]*)"$/ do |output| assert_exact_output(output, output_from(@commands.last).strip) end Then /^"([^"]+)" should ?(not)? exist$/ do |path, negative| check_file_presence([path], !negative) end Then /^"([^"]+)" should contain "([^"]*)"$/ do |path, content| check_file_content(path, content, true) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
figaro-0.4.0 | features/step_definitions/common_steps.rb |
figaro-0.3.0 | features/step_definitions/common_steps.rb |