Sha256: 33cf5338436bc218b3a137d27b469cb4a76b029a2a8af7c8c7a7cf7b8b77bbfe

Contents?: true

Size: 394 Bytes

Versions: 13

Compression:

Stored size: 394 Bytes

Contents

require 'test_helper'

module ActiveModel
  class Serializer
    class ConfigurationTest < Minitest::Test
      def test_array_serializer
        assert_equal ActiveModel::Serializer::ArraySerializer, ActiveModel::Serializer.config.array_serializer
      end

      def test_default_adapter
        assert_equal :flatten_json, ActiveModel::Serializer.config.adapter
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
active_model_serializers-0.10.0.rc3 test/serializers/configuration_test.rb
cheap_ams-0.10.11 test/serializers/configuration_test.rb
cheap_ams-0.10.10 test/serializers/configuration_test.rb
cheap_ams-0.10.8 test/serializers/configuration_test.rb
cheap_ams-0.10.7 test/serializers/configuration_test.rb
cheap_ams-0.10.6 test/serializers/configuration_test.rb
cheap_ams-0.10.5 test/serializers/configuration_test.rb
cheap_ams-0.10.4 test/serializers/configuration_test.rb
cheap_ams-0.10.3 test/serializers/configuration_test.rb
cheap_ams-0.10.2 test/serializers/configuration_test.rb
cheap_ams-0.10.1 test/serializers/configuration_test.rb
cheap_ams-0.10.0.rc2 test/serializers/configuration_test.rb
active_model_serializers-0.10.0.rc2 test/serializers/configuration_test.rb