spec/authority/configuration_spec.rb in authority-2.3.0 vs spec/authority/configuration_spec.rb in authority-2.3.1
- old
+ new
@@ -17,10 +17,10 @@
Authority.instance_variable_set :@configuration, nil
null = File.exists?('/dev/null') ? '/dev/null' : 'NUL:' # Allow for Windows
logger = Logger.new(null)
Logger.should_receive(:new).with(STDERR).and_return(logger)
Authority.configure
- Authority.configuration.logger
+ Authority.logger
end
end
end