diff --git a/tests/capybara_test_case.rb b/tests/capybara_test_case.rb index 4e52b89..0a12dd3 100644 --- a/tests/capybara_test_case.rb +++ b/tests/capybara_test_case.rb @@ -17,6 +17,9 @@ class RackWrapper LOADED_MODULES = [] def self.call(env) + env["SERVER_NAME"] = "wayback-classic.rake.localhost" + env["WEBMASTER_EMAIL"] = "noreply@wayback-classic.rake.localhost" + request = Rack::Request.new(env) case request.path