From a3d9f0ce6187e29e178050aaca2259c6844ee1b6 Mon Sep 17 00:00:00 2001
From: Mauricio Giacomini Girardello <mgg12@inf.ufpr.br>
Date: Tue, 17 May 2016 14:35:14 -0300
Subject: [PATCH] authenticate insitution controller test requests

---
 test/controllers/v1/institutions_controller_test.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/controllers/v1/institutions_controller_test.rb b/test/controllers/v1/institutions_controller_test.rb
index ba90ef5d..be23eca8 100644
--- a/test/controllers/v1/institutions_controller_test.rb
+++ b/test/controllers/v1/institutions_controller_test.rb
@@ -9,6 +9,7 @@ class V1::InstitutionControllerTest < ActionController::TestCase
   end
 
   test 'should user show institution' do
+    auth_application
     ufpr = institutions(:ufpr)
     get :show, id: ufpr.id
     assert_response :ok
-- 
GitLab