lib/teabag/server.rb in teabag-0.7.0 vs lib/teabag/server.rb in teabag-0.7.1
- old
+ new
@@ -49,10 +49,11 @@
{
app: Rails.application,
Port: port,
environment: "test",
AccessLog: [],
- Logger: WEBrick::Log::new(nil, 0)
+ Logger: WEBrick::Log::new(nil, 0),
+ server: Teabag.configuration.server
}
end
def find_available_port
return Teabag.configuration.server_port if Teabag.configuration.server_port