From b7e49d8042629dd0e5b9feade78e058a737f96b2 Mon Sep 17 00:00:00 2001 From: Valery Sizov Date: Thu, 17 Sep 2015 13:41:06 +0300 Subject: Fix: ci projects order --- spec/controllers/ci/projects_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/controllers') diff --git a/spec/controllers/ci/projects_controller_spec.rb b/spec/controllers/ci/projects_controller_spec.rb index 015788a05e1..c7a3cd50c20 100644 --- a/spec/controllers/ci/projects_controller_spec.rb +++ b/spec/controllers/ci/projects_controller_spec.rb @@ -84,7 +84,7 @@ describe Ci::ProjectsController do end it "searches projects" do - xhr :get, :gitlab, { search: "str", format: "js" }.with_indifferent_access + xhr :get, :index, { search: "str", format: "json" }.with_indifferent_access expect(response).to be_success expect(response.code).to eq('200') -- cgit v1.2.1