Sha256: 875a4e6ff542c0fb1fb0b9a417e18fbd84d67f549b5a700f658826fb3cac331e
Contents?: true
Size: 535 Bytes
Versions: 11
Compression:
Stored size: 535 Bytes
Contents
Given(/^a file located at "(.*?)"$/) do |filepath| expect(File).to exist(filepath) end Given(/^an empty file located at "(.*?)"$/) do |filepath| FileUtils.touch(File.expand_path(filepath)) end Given(/^a file located at "(.*?)" with the contents:$/) do |filepath, contents| File.open(filepath, 'w') { |f| f.write(contents) } end Given(/^no file located at "(.*?)"$/) do |filepath| step %(the file "#{ filepath }" should not exist) end When /^I get help for "([^"]*)"$/ do |app_name| step %(I run `#{app_name} --help`) end
Version data entries
11 entries across 11 versions & 1 rubygems