Skip to content

Commit

Permalink
capybara_test_case: add server information so tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
ticky committed Jul 20, 2024
1 parent ef32c27 commit 6c7167e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/capybara_test_case.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ class RackWrapper
LOADED_MODULES = []

def self.call(env)
env["SERVER_NAME"] = "wayback-classic.rake.localhost"
env["WEBMASTER_EMAIL"] = "[email protected]"

request = Rack::Request.new(env)

case request.path
Expand Down

0 comments on commit 6c7167e

Please sign in to comment.