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:
@@ -4,7 +4,7 @@ module ActiveModel
|
||||
class Serializer
|
||||
module Adapter
|
||||
class Json
|
||||
class BelongsToTest < Minitest::Test
|
||||
class BelongsToTest < ActiveSupport::TestCase
|
||||
def setup
|
||||
@post = Post.new(id: 42, title: 'New Post', body: 'Body')
|
||||
@anonymous_post = Post.new(id: 43, title: 'Hello!!', body: 'Hello, world!!')
|
||||
|
||||
Reference in New Issue
Block a user