diff --git a/app/models/notifier/assigned.rb b/app/models/notifier/assigned.rb index c18d35a56..ff9594dd8 100644 --- a/app/models/notifier/assigned.rb +++ b/app/models/notifier/assigned.rb @@ -1,7 +1,7 @@ class Notifier::Assigned < Notifier private def body - "#{creator.name} assigned you: #{bubble.title}" + "assigned you: #{bubble.title}" end def recipients diff --git a/app/models/notifier/commented.rb b/app/models/notifier/commented.rb index aad76a591..d40476de6 100644 --- a/app/models/notifier/commented.rb +++ b/app/models/notifier/commented.rb @@ -1,7 +1,7 @@ class Notifier::Commented < Notifier private def body - "#{creator.name} commented on: #{bubble.title}" + "commented on: #{bubble.title}" end def recipients diff --git a/app/models/notifier/created.rb b/app/models/notifier/created.rb index 1bdc3fe2f..9630df5ae 100644 --- a/app/models/notifier/created.rb +++ b/app/models/notifier/created.rb @@ -1,7 +1,7 @@ class Notifier::Created < Notifier private def body - "#{creator.name} created a new item: #{bubble.title}" + "created: #{bubble.title}" end def recipients diff --git a/test/models/notifier/assigned_test.rb b/test/models/notifier/assigned_test.rb index eafcd682a..367531b0b 100644 --- a/test/models/notifier/assigned_test.rb +++ b/test/models/notifier/assigned_test.rb @@ -20,6 +20,6 @@ class Notifier::AssignedTest < ActiveSupport::TestCase test "generate populates the notification details" do Notifier.for(events(:logo_assignment_km)).generate - assert_equal "David assigned you: The logo isn't big enough", Notification.last.body + assert_equal "assigned you: The logo isn't big enough", Notification.last.body end end diff --git a/test/models/notifier/created_test.rb b/test/models/notifier/created_test.rb index 3e36cfcd6..b9ae7e7b8 100644 --- a/test/models/notifier/created_test.rb +++ b/test/models/notifier/created_test.rb @@ -14,6 +14,6 @@ class Notifier::CreatedTest < ActiveSupport::TestCase test "generate populates the notification details" do Notifier.for(events(:logo_created)).generate - assert_equal "David created a new item: The logo isn't big enough", Notification.last.body + assert_equal "created: The logo isn't big enough", Notification.last.body end end