result.should match(/this expression/)
result.should =~ /this expression/
statement.should =~ /Total Due: \$37\.42/m
Then /^(?:|I )should see \/([^\/]*)\/$/ do |regexp|
regexp = Regexp.new(regexp)
if defined?(Spec::Rails::Matchers)
response.should contain(regexp)
else
assert_match(regexp, response_body)
end
end