Sha256: 79f8e8e68018673fbbe0c7c9e2d8c220b58899f35b4ab847ad3fa9708e3e24fe
Contents?: true
Size: 258 Bytes
Versions: 3
Compression:
Stored size: 258 Bytes
Contents
Then /^the file "(.*?)" should have the following stripped content:$/ do |file, string| test_lines = string.lines.to_a File.read(file).lines.collect(&:strip).reject(&:empty?).to_a.each do |line| line.strip.should == test_lines.shift.strip end end
Version data entries
3 entries across 3 versions & 1 rubygems