Permalink
Browse files

commit failing spec

  • Loading branch information...
1 parent 86bc2a7 commit e1149bb0e83bd88b7ed1a985af29c985890e7c50 @ajsharp ajsharp committed Jun 11, 2011
Showing with 5 additions and 0 deletions.
  1. +5 −0 spec/functional/middleware_spec.rb
@@ -41,5 +41,10 @@ def app
get '/'
last_response.headers['Set-Cookie'].should =~ /_utmarr/
end
+
+ it "includes both cookies" do
+ get '/'
+ last_response.headers['Set-Cookie'].split('\n').should have(2).items
+ end
end
end

0 comments on commit e1149bb

Please sign in to comment.