getting an error running feature tests under 0.8.3
/home/cucumber/cucumber/infrastructure-tests/features/steps/http_header_steps.rb:16: warning: parenthesize argument(s) for future version /home/cucumber/cucumber/infrastructure-tests/features/steps/http_header_steps.rb:20: warning: parenthesize argument(s) for future version
to fix it I've had to hash out these 2 steps in http_header_steps.rb
header contains checks
Then /the "(.)" header should contain "(.)"$/ do | header_name, header_contains | @url_headers[header_name].should match header_contains end
Then /the "(.)" header should not contain "(.)"$/ do | header_name, header_contains |
@url_headers[header_name].should_not match header_contains end
@tauboy wrote in #11: