Sha256: ed977cb4dd98cf713602a8c6dbd1cd715f83a60c14d9a44118e5a2cf759b0422
Contents?: true
Size: 538 Bytes
Versions: 1
Compression:
Stored size: 538 Bytes
Contents
Then(/^I have the file(.* )and contents of this file should be:$/) do |file, content| file_content = read_from_app(file.strip) expect(file_content).to eq(content) end Then(/^I have the file(.* )and contents of this file should include:$/) do |file, content| file_content = read_from_app(file.strip) expect(file_content).to include(content) end Then(/^I have the file(.* )and contents of this file should match:$/) do |file, content| file_content = read_from_app(file.strip) expect(file_content).to match(%r{#{content}}) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pah-0.0.14 | features/step_definitions/file_content.rb |