test/og/tc_validation_loop.rb in og-0.27.0 vs test/og/tc_validation_loop.rb in og-0.28.0

- old
+ new

@@ -1,5 +1,6 @@ +=begin require 'test/unit' require 'rubygems' require 'og' @@ -8,12 +9,10 @@ prop_accessor :thing validate_unique :thing end -Og.start - class TC_Loop < Test::Unit::TestCase def setup @thing_1 = ManagedClass.new @thing_1.thing = 'thing' @thing_1.save @@ -26,11 +25,9 @@ # thing_2.valid? # assert thing_2.errors # } end - def teardown - ManagedClass.all.each { |i| i.delete } - end end # * Bryan Soto <bryan.a.soto@gmail.com> +=end