test/setup.rb in rack-oauth2-server-2.4.0 vs test/setup.rb in rack-oauth2-server-2.4.1

- old
+ new

@@ -12,10 +12,11 @@ require "rack/oauth2/server" require "rack/oauth2/server/admin" ENV["RACK_ENV"] = "test" -DATABASE = Mongo::Connection.new["test"] +ENV["DB"] = "test" +DATABASE = Mongo::Connection.new[ENV["DB"]] FRAMEWORK = ENV["FRAMEWORK"] || "sinatra" $logger = Logger.new("test.log") $logger.level = Logger::DEBUG