features/steps/gitcycle_steps.rb in gitcycle-0.1.15 vs features/steps/gitcycle_steps.rb in gitcycle-0.1.16
- old
+ new
@@ -198,10 +198,10 @@
@output.include?(expected).should == true
$url = @output.match(/#{expected}.*(https?:\/\/[^\s]+)/)[1]
end
Then /^output includes$/ do |expected|
- expected = gsub_variables(expected)
+ expected = gsub_variables(expected).gsub('\t', "\t")
@output.gsub(/\n+/, "\n").include?(expected).should == true
end
Then /^output does not include \"([^\"]*)"$/ do |expected|
expected = gsub_variables(expected)
\ No newline at end of file