Sha256: 1f07fc4e1adfc8fc7def1191e600faada6b72e6d3aa426a7341e1bfa1036b14f

Contents?: true

Size: 363 Bytes

Versions: 4

Compression:

Stored size: 363 Bytes

Contents

Before do
  FileUtils.mkdir_p 'tmp/aruba'
end

After do
  FileUtils.rm_rf 'tmp/aruba'
end

Given(/^I have (\w+) file in directory$/) do |name|
  @filename = "#{name}.rb"
  FileUtils.ln_s "../../spec/fixtures/#{@filename}", 'tmp/aruba/'
  expect(`ls tmp/aruba`).to match(@filename)
end

Then(/^warder does nothing$/) do
  step 'the output should match /.{0}/'
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
warder-0.1.1 features/step_definitions/run_steps.rb
warder-0.1.0 features/step_definitions/run_steps.rb
warder-0.0.5 features/step_definitions/run_steps.rb
warder-0.0.4 features/step_definitions/run_steps.rb