spec/support/data.rb in amoeba-1.0.0 vs spec/support/data.rb in amoeba-1.1.0

- old
+ new

@@ -6,26 +6,26 @@ # First Post {{{ p1 = t.posts.create(:author => u1, :title => "My little pony", :contents => "Lorum ipsum dolor rainbow bright. I like dogs, dogs are awesome.") f1 = p1.create_post_config(:is_visible => true, :is_open => false, :password => 'abcdefg123') a1 = p1.create_account(:title => "Foo") h1 = p1.account.create_history(:some_stuff => "Bar") -c1 = p1.comments.create(:contents => "I love it!") +c1 = p1.comments.create(:contents => "I love it!", :nerf => "ratatat") c1.ratings.create(:num_stars => 5) c1.ratings.create(:num_stars => 5) c1.ratings.create(:num_stars => 4) c1.ratings.create(:num_stars => 3) c1.ratings.create(:num_stars => 5) c1.ratings.create(:num_stars => 5) -c2 = p1.comments.create(:contents => "I hate it!") +c2 = p1.comments.create(:contents => "I hate it!", :nerf => "whapaow") c2.ratings.create(:num_stars => 3) c2.ratings.create(:num_stars => 1) c2.ratings.create(:num_stars => 4) c2.ratings.create(:num_stars => 1) c2.ratings.create(:num_stars => 1) c2.ratings.create(:num_stars => 2) -c3 = p1.comments.create(:contents => "kthxbbq!!11!!!1!eleven!!") +c3 = p1.comments.create(:contents => "kthxbbq!!11!!!1!eleven!!", :nerf => "bonk") c3.ratings.create(:num_stars => 0) c3.ratings.create(:num_stars => 0) c3.ratings.create(:num_stars => 1) c3.ratings.create(:num_stars => 2) c3.ratings.create(:num_stars => 1)