Permalink
Browse files

Fix header setting in PageSpecTestPage; ActionController::TestRequest…

… > ActionDispatch::TestRequest
  • Loading branch information...
1 parent 6cf9c95 commit e4291411530bfd71e0ea3e419bd0cc1ac37096a5 @jomz jomz committed Feb 13, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/models/page_spec.rb
View
@@ -6,8 +6,8 @@ class PageSpecTestPage < Page
def headers
{
'cool' => 'beans',
- 'request' => @request.inspect[20..30],
- 'response' => @response.inspect[20..31]
+ 'request' => @request.inspect[18..28],
+ 'response' => @response.inspect[18..29]
}
end

0 comments on commit e429141

Please sign in to comment.