test/setup.rb in sitemap-0.1 vs test/setup.rb in sitemap-0.2b

- old
+ new

@@ -25,17 +25,19 @@ ActiveRecord::Schema.define(:version => 1) do create_table :activities do |t| t.string :name t.text :contents t.string :location + t.boolean :published, :default => true t.timestamps end end 1.upto(8) do |i| options = { :name => "Coding #{i}", :contents => "Lorem ipsum dolor sit", - :location => "someplace-#{i}" + :location => "someplace-#{i}", + :published => (i < 6) } Activity.create!(options) end end