Sha256: 63bb4ca102450d129fb934f07e2dc6eb8736ac67b26cba934cf695e0598ef2fd

Contents?: true

Size: 531 Bytes

Versions: 12

Compression:

Stored size: 531 Bytes

Contents

require 'test_helper'
require_relative 'collection_serializer_test'

module ActiveModel
  class Serializer
    class ArraySerializerTest < CollectionSerializerTest
      extend Minitest::Assertions
      def self.run_one_method(*)
        _, stderr = capture_io do
          super
        end
        if stderr !~ /NOTE: ActiveModel::Serializer::ArraySerializer.new is deprecated/
          fail Minitest::Assertion, stderr
        end
      end

      def collection_serializer
        ArraySerializer
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
active_model_serializers-0.10.8 test/array_serializer_test.rb
active_model_serializers-0.10.7 test/array_serializer_test.rb
active_model_serializers-0.10.6 test/array_serializer_test.rb
active_model_serializers-0.10.5 test/array_serializer_test.rb
active_model_serializers-0.10.4 test/array_serializer_test.rb
agi_active_model_serializers-0.10.9 test/array_serializer_test.rb
agi_active_model_serializers-0.10.8 test/array_serializer_test.rb
agi_active_model_serializers-0.10.7 test/array_serializer_test.rb
active_model_serializers-0.10.3 test/array_serializer_test.rb
active_model_serializers-0.10.2 test/array_serializer_test.rb
active_model_serializers-0.10.1 test/array_serializer_test.rb
active_model_serializers-0.10.0 test/array_serializer_test.rb