diff --git a/test/unit/action_tracker_notification_test.rb b/test/unit/action_tracker_notification_test.rb index 075b5eb..2a91915 100644 --- a/test/unit/action_tracker_notification_test.rb +++ b/test/unit/action_tracker_notification_test.rb @@ -89,7 +89,8 @@ class ActionTrackerNotificationTest < ActiveSupport::TestCase end should "have comments through article action_tracker" do - person = create_user.person + user = User.current = create_user + person = user.person article = create(TextileArticle, :profile_id => person.id) process_delayed_job_queue notification = ActionTrackerNotification.last -- libgit2 0.21.2