Permalink
Browse files

Fix typo in TestHelpers

  • Loading branch information...
udzura committed Jan 15, 2013
1 parent a7a7acd commit 25c4e9d6403a854ae5d86b56bb9eb255bce83ba7
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/sinatra/test_helpers.rb
@@ -72,7 +72,7 @@ def last_request?
def session
return {} unless last_request?
- raise Rack::Test:Error, "session not enabled for app" unless last_env["rack.session"] or app.session?
+ raise Rack::Test::Error, "session not enabled for app" unless last_env["rack.session"] or app.session?
last_request.session
end

0 comments on commit 25c4e9d

Please sign in to comment.