mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
Favor ActiveSupport::TestCase over Minitest::Test
- Better minitest 4/5 support - Better DSL - Already available with no changes - Consistent interface
This commit is contained in:
@@ -2,7 +2,7 @@ require 'test_helper'
|
||||
|
||||
module ActiveModel
|
||||
class Serializer
|
||||
class AssociationMacrosTest < Minitest::Test
|
||||
class AssociationMacrosTest < ActiveSupport::TestCase
|
||||
AuthorSummarySerializer = Class.new
|
||||
class AssociationsTestSerializer < Serializer
|
||||
belongs_to :author, serializer: AuthorSummarySerializer
|
||||
|
||||
Reference in New Issue
Block a user