summaryrefslogtreecommitdiff
path: root/spec/controllers
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-10-05 23:58:05 +0900
committerShinya Maeda <shinya@gitlab.com>2017-10-05 23:58:05 +0900
commit44baf2b0f4fdfe7402014484ad71a7d497d28088 (patch)
treead28996b49f8ba0508a9f8b6fe0d6abbb0a0bc7c /spec/controllers
parentfe135fac68fab5e2a15e7aaa250ae91cd7fa4851 (diff)
downloadgitlab-ce-44baf2b0f4fdfe7402014484ad71a7d497d28088.tar.gz
spec/features/projects/clusters_spec. Fix static analysys
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/google_api/authorizations_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/google_api/authorizations_controller_spec.rb b/spec/controllers/google_api/authorizations_controller_spec.rb
index 53d584d167c..64c16af582f 100644
--- a/spec/controllers/google_api/authorizations_controller_spec.rb
+++ b/spec/controllers/google_api/authorizations_controller_spec.rb
@@ -4,7 +4,7 @@ describe GoogleApi::AuthorizationsController do
describe 'GET|POST #callback' do
let(:user) { create(:user) }
let(:project) { create(:project) }
- let(:state) { namespace_project_clusters_url(project.namespace, project).to_s }
+ let(:state) { project_clusters_url(project).to_s }
let(:token) { 'token' }
let(:expires_at) { 1.hour.since.strftime('%s') }