Commit ae1b444d0b251e8d39514e07603f509b4c586665
Committed by
Antonio Terceiro
1 parent
fff60050
Exists in
master
and in
29 other branches
Now is possible to leave a scrap on the wall of a company.
(ActionItem1768)
Showing
3 changed files
with
9 additions
and
4 deletions
Show diff stats
app/models/community.rb
app/models/organization.rb
test/unit/enterprise_test.rb
... | ... | @@ -408,4 +408,9 @@ class EnterpriseTest < Test::Unit::TestCase |
408 | 408 | assert_equal false, e.send(:followed_by?,p2) |
409 | 409 | end |
410 | 410 | |
411 | + should 'receive scrap notification' do | |
412 | + enterprise = fast_create(Enterprise) | |
413 | + assert_equal false, enterprise.receives_scrap_notification? | |
414 | + end | |
415 | + | |
411 | 416 | end | ... | ... |