test/og/mixin/tc_timestamped.rb in og-0.24.0 vs test/og/mixin/tc_timestamped.rb in og-0.25.0
- old
+ new
@@ -2,11 +2,11 @@
require 'test/unit'
require 'ostruct'
require 'og'
-require 'og/mixin/timestamped'
+require 'glue/timestamped'
$og = Og.setup(
:store => 'psql',
:name => 'test',
:user => 'postgres',
@@ -15,10 +15,10 @@
)
class TestCaseOgTimestamped < Test::Unit::TestCase # :nodoc: all
class Article
- include Og::Timestamped
+ is Timestamped
property :body, String
def initialize(body = nil)
@body = body
end