From a972c8c264e3ee0438396ad561f8b77bb896dcc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Luka=C5=A1=C3=ADk?= Date: Tue, 9 May 2017 13:46:14 +0200 Subject: [PATCH] Create MiqReportResult accessible by current_user. (transferred from ManageIQ/manageiq@36e042b5301eda3974b355efcb8a9b3e446ab5eb) --- spec/requests/api/collections_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/requests/api/collections_spec.rb b/spec/requests/api/collections_spec.rb index 28807c6d40..e6d8de4b89 100644 --- a/spec/requests/api/collections_spec.rb +++ b/spec/requests/api/collections_spec.rb @@ -438,7 +438,7 @@ def test_collection_bulk_query(collection, collection_url, klass, id = nil) end it "bulk query Report Results" do - FactoryGirl.create(:miq_report_result) + FactoryGirl.create(:miq_report_result, :miq_group => @user.current_group) test_collection_bulk_query(:results, results_url, MiqReportResult) end