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:
Benjamin Fleischer
2015-12-20 15:18:14 -06:00
parent 9909908962
commit 419faf03b9
45 changed files with 50 additions and 50 deletions

View File

@@ -4,7 +4,7 @@ module ActiveModel
class Serializer
module Adapter
class JsonApi
class FieldsTest < Minitest::Test
class FieldsTest < ActiveSupport::TestCase
Post = Class.new(::Model)
class PostSerializer < ActiveModel::Serializer
type 'posts'