test/fixtures/test_model.rb in alexrabarts-big_sitemap-0.2.1 vs test/fixtures/test_model.rb in alexrabarts-big_sitemap-0.3.0
- old
+ new
@@ -1,9 +1,17 @@
class TestModel
def to_param
object_id
end
+ def change_frequency
+ 'monthly'
+ end
+
+ def priority
+ 0.8
+ end
+
class << self
def count_for_sitemap
self.find_for_sitemap.size
end
\ No newline at end of file