Sha256: cf7cdfd3f6c823f3bb6601bf7da645545688d6fef1eae8007a0e580dad655c1d

Contents?: true

Size: 569 Bytes

Versions: 1

Compression:

Stored size: 569 Bytes

Contents

Then /^the file "([^\"]*)" has the contents$/ do |path, contents|
  write_file(path, contents)
  step %Q{the file "#{path}" did change}
end

Then /^the file "([^\"]*)" is removed$/ do |path|
  step %Q{I remove the file "#{path}"}
  step %Q{the file "#{path}" did delete}
end

Then /^the file "([^\"]*)" did change$/ do |path|
  cd '.' do
    with_environment do
      @server_inst.files.did_change(path)
    end
  end
end

Then /^the file "([^\"]*)" did delete$/ do |path|
  cd '.' do
    with_environment do
      @server_inst.files.did_delete(path)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
middleman-core-3.4.1 lib/middleman-core/step_definitions/middleman_steps.rb