Sha256: 65fd553a859717c8d303c706a4e5caef1e491974ee62f003087444ae6afb31be
Contents?: true
Size: 361 Bytes
Versions: 4
Compression:
Stored size: 361 Bytes
Contents
Given /^I am at the project root$/ do Dir.pwd.split('/').last.should == "flapjack" end Then /^I should see (\d+) lines of output$/ do |number| @output.split.size.should == number.to_i end Then /^every file in the output should start with "([^\"]*)"$/ do |string| @output.split.each do |file| `head -n 1 #{file}`.should =~ /^#{string}\s*$/ end end
Version data entries
4 entries across 4 versions & 1 rubygems