test/helper.rb in shield-0.1.0 vs test/helper.rb in shield-1.0.0.rc1

- old
+ new

@@ -14,9 +14,13 @@ flunk end assert_equal path, URI(last_response.headers["Location"]).path end + def redirection_url + last_response.headers["Location"] + end + def session last_request.env["rack.session"] end end