Sha256: ba2df611fcb0bc591b833e3a65226f2f2570c5ac20c4998941aed4d18927c483

Contents?: true

Size: 490 Bytes

Versions: 6

Compression:

Stored size: 490 Bytes

Contents

Given(/^the file "(.*?)" has been overwritten with "(.*?)"$/) do |file1,file2|
  FileUtils.cp File.join(expand_path('.'),file2), File.join(expand_path('.'),file1)
end

Given(/^some time has passed$/) do
  sleep 30
end

Then(/^we should write some stuff to the console$/) do
  puts "here's testfile.html"
  puts File.open(File.join(expand_path('.'),"testfile.html")).read
  #puts "------"
  #puts File.open(File.join(expand_path('.'),"photos/test-image/test-image-small.jpg"),'rb').read
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
middleman-automatic-clowncar-4.0.5 features/support/step_definitions.rb
middleman-automatic-clowncar-4.0.4 features/support/step_definitions.rb
middleman-automatic-clowncar-4.0.3 features/support/step_definitions.rb
middleman-automatic-clowncar-4.0.2 features/support/step_definitions.rb
middleman-automatic-clowncar-4.0.1 features/support/step_definitions.rb
middleman-automatic-clowncar-4.0.0 features/support/step_definitions.rb