test/undo_test.rb in mongoid-undo-0.8.0 vs test/undo_test.rb in mongoid-undo-0.9.0
- old
+ new
@@ -20,10 +20,10 @@
include Mongoid::Timestamps
field :name, type: String
end
-class UndoTest < Minitest::Test
+class UndoTest < Minitest::Unit::TestCase
def test_create
document = Document.create(name: 'foo')
assert_equal :create, document.action
assert_equal 1, document.version
assert document.persisted?