glue 0.26.0 → 0.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,36 +0,0 @@
1
- require 'test/unit'
2
-
3
- require 'rubygems'
4
-
5
- require 'og'
6
-
7
- class ManagedClass
8
- prop_accessor :thing
9
-
10
- validate_unique :thing
11
- end
12
-
13
- Og.start
14
-
15
- class TC_Loop < Test::Unit::TestCase
16
- def setup
17
- @thing_1 = ManagedClass.new
18
- @thing_1.thing = 'thing'
19
- @thing_1.save
20
- end
21
-
22
- def test_loop
23
- thing_2 = ManagedClass.new
24
- thing_2.thing = @thing_1.thing
25
- # assert_raises(NoMethodError) {
26
- # thing_2.valid?
27
- # assert thing_2.errors
28
- # }
29
- end
30
-
31
- def teardown
32
- ManagedClass.all.each { |i| i.delete }
33
- end
34
- end
35
-
36
- # * Bryan Soto <bryan.a.soto@gmail.com>