summaryrefslogtreecommitdiff
path: root/spec/controllers
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-09-17 13:41:06 +0300
committerValery Sizov <vsv2711@gmail.com>2015-09-17 20:12:17 +0300
commitb7e49d8042629dd0e5b9feade78e058a737f96b2 (patch)
treea1f3da84f5dfa4ed1c9875ebe9812966a4c90659 /spec/controllers
parent2e9a7032cec02588484eb162717298d311770c7d (diff)
downloadgitlab-ce-b7e49d8042629dd0e5b9feade78e058a737f96b2.tar.gz
Fix: ci projects orderci_projects_order
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/ci/projects_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
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')