Skip to content

Commit

Permalink
Spec that referer no longer defaults to '/', but is allowed to be nil
Browse files Browse the repository at this point in the history
  • Loading branch information
raggi committed Oct 3, 2010
1 parent aa7ce77 commit 02d7015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/spec_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@

req = Rack::Request.new \
Rack::MockRequest.env_for("/")
req.referer.should.equal "/"
req.referer.should.equal nil
end

should "extract user agent correctly" do
Expand Down

0 comments on commit 02d7015

Please sign in to comment.