Sha256: 96afb017f99e4169ab7d471c33aeda3b0563ed01935715c2bdb44d472354df89
Contents?: true
Size: 733 Bytes
Versions: 2
Compression:
Stored size: 733 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 not include:$/) do |file, content| file_content = read_from_app(file.strip) expect(file_content).to_not 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(Regexp.new(content)) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pah-0.0.17 | features/step_definitions/file_content.rb |
pah-0.0.16 | features/step_definitions/file_content.rb |