# File lib/Borges/TestCase/StateRegistryTest.rb, line 106 def test_revert_twice a = ValueHolder.new(1) @registry.register(a) snap1 = @registry.snapshot a.contents = 2 assert_equal(2, a.contents) @registry.restore_snapshot(snap1) assert_equal(1, a.contents) a.contents = 3 @registry.restore_snapshot(snap1) assert_equal(1, a.contents) end