Commit 20c9a18639083b095fb8c44fafff223e1594c35f
Committed by
Antonio Terceiro
1 parent
8b45b9dc
Exists in
staging
and in
42 other branches
Fixes failing test after changing the activities filter in community
ActionItem2402
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
test/unit/community_test.rb
... | ... | @@ -345,7 +345,7 @@ class CommunityTest < ActiveSupport::TestCase |
345 | 345 | scrap = Scrap.create!(defaults_for_scrap(:sender => person, :receiver => community, :content => 'A scrap')) |
346 | 346 | activity = ActionTracker::Record.last |
347 | 347 | |
348 | - assert_equal [activity,scrap], community.activities.map { |a| a.klass.constantize.find(a.id) } | |
348 | + assert_equal [scrap], community.activities.map { |a| a.klass.constantize.find(a.id) } | |
349 | 349 | end |
350 | 350 | |
351 | 351 | should 'return tracked_actions of community as activities' do | ... | ... |