Sha256: f1e5987b2b1c661a1b60523841d5f93a4953e92b334d909a98464fc2cb29f076
Contents?: true
Size: 562 Bytes
Versions: 2
Compression:
Stored size: 562 Bytes
Contents
# frozen_string_literal: true 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
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
active_model_serializers_custom-0.10.90 | test/array_serializer_test.rb |
active_model_serializers-0.10.9 | test/array_serializer_test.rb |