Sha256: dbf8519da7faa3b2d870481fe85b7a93622269829d81d3739d437f113c4394cb
Contents?: true
Size: 351 Bytes
Versions: 2
Compression:
Stored size: 351 Bytes
Contents
Then /^the file "([^"]*)" should be empty$/ do |file_name| step %Q(the file "#{file_name}" should contain exactly:), "" end Then /^the file "([^"]*)" should contain in "([^"]*)" encoding exactly:$/ do |file_name, encoding, content| prep_for_fs_check { expect(IO.read(file_name, encoding: encoding).encode("UTF-8", encoding)).to eq content } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
data_forge-0.1.1 | features/step_definitions/file_steps.rb |
data_forge-0.1 | features/step_definitions/file_steps.rb |