Sha256: 08c4aab7f92e03cfc3381af361d6a085df6832ef5bb96857931dd8ed812d1f77
Contents?: true
Size: 308 Bytes
Versions: 25
Compression:
Stored size: 308 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| raise StandardError.new if test_lines.empty? line.strip.should == test_lines.shift.strip end end
Version data entries
25 entries across 25 versions & 1 rubygems