diff --git a/lib/active_model_serializers.rb b/lib/active_model_serializers.rb index 38571846e..38fc5e145 100644 --- a/lib/active_model_serializers.rb +++ b/lib/active_model_serializers.rb @@ -1,8 +1,8 @@ require 'logger' require 'active_model' -require "active_support/railtie" +require 'active_support/railtie' require 'action_controller' -require "action_controller/railtie" +require 'action_controller/railtie' module ActiveModelSerializers mattr_accessor :logger self.logger = Rails.logger || Logger.new(IO::NULL) diff --git a/test/logger_test.rb b/test/logger_test.rb index c92614353..d324570ad 100644 --- a/test/logger_test.rb +++ b/test/logger_test.rb @@ -1,7 +1,6 @@ require 'test_helper' class ActiveModelSerializers::LoggerTest < Minitest::Test - def test_logger_is_set_to_action_controller_logger_when_initializer_runs assert_equal ActiveModelSerializers.logger, ActionController::Base.logger end