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 Json
class Collection < Minitest::Test
class Collection < ActiveSupport::TestCase
def setup
@author = Author.new(id: 1, name: 'Steve K.')
@first_post = Post.new(id: 1, title: 'Hello!!', body: 'Hello, world!!')