Skip to content

Commit

Permalink
Fix add_to_set/push_uniq test typos
Browse files Browse the repository at this point in the history
  • Loading branch information
laserlemon committed Jan 4, 2012
1 parent 0c919a2 commit 6c0da4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/functional/test_modifiers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ def assert_keys_removed(page, *keys)
page2 = @page_class.create

page.add_to_set(:tags => 'foo')
page.add_to_set(:tags => 'foo')
page2.add_to_set(:tags => 'foo')

page.reload
page.tags.should == %w(foo)
Expand All @@ -412,7 +412,7 @@ def assert_keys_removed(page, *keys)
page2 = @page_class.create

page.push_uniq(:tags => 'foo')
page.push_uniq(:tags => 'foo')
page2.push_uniq(:tags => 'foo')

page.reload
page.tags.should == %w(foo)
Expand Down

0 comments on commit 6c0da4c

Please sign in to comment.