penchant/features/step_definitions/then/the_output_should_include.rb

4 lines
90 B
Ruby
Raw Normal View History

Then /^the output should include "([^"]*)"$/ do |text|
@output.should include(text)
end