test/fixtures/test_model.rb in alexrabarts-big_sitemap-0.2.0 vs test/fixtures/test_model.rb in alexrabarts-big_sitemap-0.2.1

- old
+ new

@@ -6,9 +6,13 @@ class << self def count_for_sitemap self.find_for_sitemap.size end + def num_items + 10 + end + def find_for_sitemap(options={}) instances = [] num_times = options.delete(:limit) || self.num_items num_times.times { instances.push(self.new) } instances \ No newline at end of file