Skip to content

Commit

Permalink
fix non idiomatic capitalization in feature step
Browse files Browse the repository at this point in the history
  • Loading branch information
saturnflyer committed Jun 11, 2011
1 parent 346292f commit 2cbc866
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions features/page_serving.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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"

2 changes: 1 addition & 1 deletion features/step_definitions/page_serving_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2cbc866

Please sign in to comment.