lib/og/test/testcase.rb in og-0.28.0 vs lib/og/test/testcase.rb in og-0.29.0

- old
+ new

@@ -18,13 +18,13 @@ #++ def fixture(*classes) for klass in classes - f = Fixture.new(klass) + f = Glue::Fixture.new(klass) instance_variable_set "@#{klass.to_s.demodulize.underscore.pluralize}", f - Fixtures[klass] = f + Glue::Fixtures[klass] = f # create variables for the fixture objects. for name, obj in f instance_variable_set "@#{name}", obj @@ -38,10 +38,10 @@ def og_fixture(*classes) fixture(*classes) for klass in classes - f = Fixtures[klass] + f = Glue::Fixtures[klass] for obj in f.objects obj.save end end