lib/rapid_rack/engine.rb in rapid-rack-0.1.0 vs lib/rapid_rack/engine.rb in rapid-rack-0.2.0
- old
+ new
@@ -25,9 +25,10 @@
@configuration = opts_from_file.merge(opts_from_app)
end
def authenticator
return 'RapidRack::MockAuthenticator' if configuration[:development_mode]
+ return 'RapidRack::TestAuthenticator' if configuration[:test_mode]
'RapidRack::Authenticator'
end
end
end