Sha256: e452524f42752599ce6db200633a0869cc26919dc6ce0ddbc8f6107fffd21af1

Contents?: true

Size: 261 Bytes

Versions: 4

Compression:

Stored size: 261 Bytes

Contents

require "test_helper"

class RandomModel
  include ActiveModel::SerializerSupport
end

class SerializerSupportTest < ActiveModel::TestCase
  test "it returns nil if no serializer exists" do
    assert_equal nil, RandomModel.new.active_model_serializer
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
active_model_serializers-0.5.2 test/serializer_support_test.rb
active_model_serializers-0.5.1 test/serializer_support_test.rb
active_model_serializers-0.5.0 test/serializer_support_test.rb
active_model_serializers-0.1.0 test/serializer_support_test.rb