From ca8974d4a0b0b0d7a0adae3463150b95ac65c3d6 Mon Sep 17 00:00:00 2001
From: Benjamin Neff <benjamin@coding4coffee.ch>
Date: Sun, 6 Aug 2017 21:17:33 +0200
Subject: [PATCH] Use ActionDispatch::TestRequest in NotificationSerializer
 spec

---
 spec/serializers/notification_serializer_spec.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spec/serializers/notification_serializer_spec.rb b/spec/serializers/notification_serializer_spec.rb
index 8f9a20a3c4..156dc5ee55 100644
--- a/spec/serializers/notification_serializer_spec.rb
+++ b/spec/serializers/notification_serializer_spec.rb
@@ -3,7 +3,7 @@ describe NotificationSerializer do
 
   before do
     allow(notifications_controller).to receive(:current_user).and_return(notification.recipient)
-    notifications_controller.request = ActionController::TestRequest.new(host: AppConfig.pod_uri)
+    notifications_controller.request = ActionDispatch::TestRequest.new(host: AppConfig.pod_uri)
   end
 
   let(:notification) { FactoryGirl.create(:notification) }
-- 
GitLab