Sha256: 453fedc056f91a794a179e2979125841ea708287382afcdad2b2e17a08438fa1

Contents?: true

Size: 462 Bytes

Versions: 2

Compression:

Stored size: 462 Bytes

Contents

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

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
middleman-automatic-clowncar-0.0.4 features/support/step_definitions.rb
middleman-automatic-clowncar-0.0.3 features/support/step_definitions.rb