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

Version Path
sifttter-redux-1.0.6 features/step_definitions/sifttter-redux_steps.rb
sifttter-redux-1.0.5 features/step_definitions/sifttter-redux_steps.rb
sifttter-redux-1.0.4 features/step_definitions/sifttter-redux_steps.rb
sifttter-redux-1.0.2 features/step_definitions/sifttter-redux_steps.rb
sifttter-redux-1.0.1 features/step_definitions/sifttter-redux_steps.rb
sifttter-redux-1.0.0 features/step_definitions/sifttter-redux_steps.rb
sifttter-redux-0.6.4 features/step_definitions/sifttter-redux_steps.rb
sifttter-redux-0.6.3 features/step_definitions/sifttter-redux_steps.rb
sifttter-redux-0.6.2 features/step_definitions/sifttter-redux_steps.rb
sifttter-redux-0.6.1 features/step_definitions/sifttter-redux_steps.rb
sifttter-redux-0.6 features/step_definitions/sifttter-redux_steps.rb