examples/og/mock_example.rb in og-0.9.3 vs examples/og/mock_example.rb in og-0.9.5
- old
+ new
@@ -1,14 +1,12 @@
# = Og Mocking Example
#
# A simple example to demonstrate how to mock Og.
# Very useful in test units.
#
-# code:
# * George Moschovitis <gm@navel.gr>
-#
-# (c) 2004 Navel, all rights reserved.
+# (c) 2004-2005 Navel, all rights reserved.
# $Id: run.rb 185 2004-12-10 13:29:09Z gmosx $
$:.unshift File.join(File.dirname(__FILE__), '..', '..', 'lib')
require 'rubygems'
@@ -50,6 +48,5 @@
# 3 times called
assert_equal(3, @og.mock_count(:load_all))
end
end
-