test/og/tc_automanage.rb in og-0.15.0 vs test/og/tc_automanage.rb in og-0.16.0
- old
+ new
@@ -12,18 +12,19 @@
:password => 'navelrulez',
:drop => true
)
class TestCaseOgObserver < Test::Unit::TestCase # :nodoc: all
- include N
# Define a class after the Database is created.
+ class Article; end
+
class User
property :name
# auto forward ref.
- has_many :articles, TestCaseOgObserver::Article
+ has_many :articles, Article
end
class Article
property :name, String
property :age, Fixnum