penchant/features/step_definitions/then/the_output_should_include.rb

4 lines
90 B
Ruby

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