lib/lookout/rack/test/rspec/fake_request.rb in lookout-rack-test-2.3.1 vs lib/lookout/rack/test/rspec/fake_request.rb in lookout-rack-test-3.0.0

- old
+ new

@@ -1,20 +1,20 @@ require 'rspec' module Lookout::Rack::Test::RSpec class FakeRequest attr_accessor :session, :env, :request - + def initialize @session = {} @env = {} @request = Object.new @request.stub(:path_info).and_return('') end - + def redirect(path, params={}); end # So we can catch calls to the redirect method - + def halt(status, error_string); end - + def to(url); url; end end end