Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix non idiomatic capitalization in feature step

  • Loading branch information...
commit 2cbc866a5ef9acbda1bec7a88c54c25a2b65449a 1 parent 346292f
@saturnflyer saturnflyer authored
View
4 features/page_serving.feature
@@ -32,11 +32,11 @@ Feature: Serving pages from front-end
Given I have page caching on
When I go to the first page
Then I should get an "ETag" header in the response
- And The "Cache-Control" header should be "public"
+ And the "Cache-Control" header should be "public"
Scenario: page caching disabled
Given I have page caching off
When I go to the first page
Then I should not get an "ETag" header in the response
- And The "Cache-Control" header should be "private"
+ And the "Cache-Control" header should be "private"
View
2  features/step_definitions/page_serving_steps.rb
@@ -32,7 +32,7 @@
set_page_cache status
end
-Then /^The "([^\"]*)" header should be "([^\"]*)"$/ do |header_key, value|
+Then /^the "([^\"]*)" header should be "([^\"]*)"$/ do |header_key, value|
response.headers.to_hash[header_key].should =~ Regexp.new(value)
end
Please sign in to comment.
Something went wrong with that request. Please try again.