test/snapshot_test.rb in introspection-0.0.3 vs test/snapshot_test.rb in introspection-0.0.4
- old
+ new
@@ -1,9 +1,9 @@
require "test_helper"
require "blankslate"
-class SnapshotTest < Test::Unit::TestCase
+class SnapshotTest < Minitest::Test
include Introspection
def test_should_report_methods_added
instance = Class.new.new
@@ -47,9 +47,10 @@
instance = Class.new.new
assert_snapshot_unchanged(instance) {}
end
def test_should_cope_with_blankslate_object
- assert_nothing_raised { Snapshot.new(BlankSlate.new) }
+ # Should not raise anything
+ Snapshot.new(BlankSlate.new)
end
-end
\ No newline at end of file
+end