test/rails3/config/application.rb in rack-oauth2-server-1.4.6 vs test/rails3/config/application.rb in rack-oauth2-server-2.0.0.beta

- old
+ new

@@ -5,10 +5,9 @@ config.secret_token = "Stay hungry. Stay foolish. -- Steve Jobs" config.active_support.deprecation = :stderr config.after_initialize do config.oauth.database = DATABASE - config.oauth.scopes = %w{read write time-travel} config.oauth.host = "example.org" config.oauth.authenticator = lambda do |username, password| "Batman" if username == "cowbell" && password == "more" end config.middleware.use Rack::OAuth2::Server::Admin.mount