Sha256: e075c922d389144e9b705b8770ad2416c426b78708bef1f6d8d302062029f827

Contents?: true

Size: 386 Bytes

Versions: 2

Compression:

Stored size: 386 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 :json, ActiveModel::Serializer.config.adapter
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
cm-active_model_serializers-0.10.0.rc1.1 test/serializers/configuration_test.rb
active_model_serializers-0.10.0.rc1 test/serializers/configuration_test.rb