Skip to content

Commit

Permalink
Stronger test for all grouped callback.
Browse files Browse the repository at this point in the history
  • Loading branch information
metaskills committed Sep 24, 2008
1 parent 01d85f6 commit 6df1bf8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/grouped_scope/self_grouping_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,9 @@ def setup
end

should 'allow proxy owner to define all grouped which ignores group_id schema' do
def @e1.all_grouped? ; true ; end
assert_same_elements [@e1,@e2,@e3,@e4], @e1.group
def @e2.all_grouped? ; true ; end
assert_same_elements [@e1,@e2,@e3,@e4], @e2.group
assert_same_elements @e1.reports + @e3.reports, @e2.group.reports
end

end
Expand Down

0 comments on commit 6df1bf8

Please sign in to comment.