Sha256: 81472eb9dacca4745323467e94b4df1ae253ea5548d8e857306f2d0140735b64
Contents?: true
Size: 917 Bytes
Versions: 10
Compression:
Stored size: 917 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 end with:$/) do |file, content| file_content = read_from_app(file.strip) expect(file_content).to end_with(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
10 entries across 10 versions & 1 rubygems