Sha256: ed56339db6a1c63bbe842e4940331c6b8de7fe7d4ca15f22c2d949e2856801da

Contents?: true

Size: 255 Bytes

Versions: 12

Compression:

Stored size: 255 Bytes

Contents

Given /^a file "([^"]+)" with content:$/ do |path, content|
  cd ?. do
    File.write(path, content + $/)
  end
end


Then /^the file "([^"]+)" must contain exactly:$/ do |path, content|
  cd ?. do
    expect(File.read(path)).to eq content + $/
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
localeapp-3.3.0 features/step_definitions/filesystem_steps.rb
localeapp-3.2.0 features/step_definitions/filesystem_steps.rb
localeapp-3.1.3 features/step_definitions/filesystem_steps.rb
localeapp-3.1.2 features/step_definitions/filesystem_steps.rb
localeapp-3.1.1 features/step_definitions/filesystem_steps.rb
localeapp-3.1.0 features/step_definitions/filesystem_steps.rb
localeapp-3.0.1 features/step_definitions/filesystem_steps.rb
localeapp-3.0.0 features/step_definitions/filesystem_steps.rb
localeapp-2.5.0 features/step_definitions/filesystem_steps.rb
localeapp-2.4.0 features/step_definitions/filesystem_steps.rb
localeapp-2.3.0 features/step_definitions/filesystem_steps.rb
localeapp-2.2.0 features/step_definitions/filesystem_steps.rb