Commit 3c4498380154564a02ee8b514c72089f2c3c9675

Authored by Gabriel Silva
1 parent 10b1a6da

Adds email template for new_follower notificaiton

- Fixes person_notifier tests

Signed-off-by: Gabriel Silva <gabriel93.silva@gmail.com>
app/views/person_notifier/mailer/_new_follower.html.erb 0 → 100644
... ... @@ -0,0 +1 @@
  1 +<%= render :partial => 'default_activity', :locals => { :activity => activity } %>
... ...
test/unit/person_notifier_test.rb
... ... @@ -178,6 +178,7 @@ class PersonNotifierTest &lt; ActiveSupport::TestCase
178 178 update_product: -> { create Product, profile: @profile, product_category: create(ProductCategory, environment: Environment.default) },
179 179 remove_product: -> { create Product, profile: @profile, product_category: create(ProductCategory, environment: Environment.default) },
180 180 favorite_enterprise: -> { create FavoriteEnterprisePerson, enterprise: create(Enterprise), person: @member },
  181 + new_follower: -> { @member }
181 182 }
182 183  
183 184 ActionTrackerConfig.verb_names.each do |verb|
... ...