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

@@ -3,7 +3,7 @@ require 'test_helper'
module ActiveModel
class Serializer
module Adapter
class JsonTest < Minitest::Test
class JsonTest < ActiveSupport::TestCase
def setup
ActionController::Base.cache_store.clear
@author = Author.new(id: 1, name: 'Steve K.')