diff options
author | Dennis Tang <dtang@gitlab.com> | 2018-06-11 22:57:04 -0700 |
---|---|---|
committer | Dennis Tang <dtang@gitlab.com> | 2018-06-19 15:01:43 +0000 |
commit | ce0ce1cb196e924b13631565114352ed89eba5af (patch) | |
tree | 4a73c43d1951e6507326312f1c214bc52887035f /spec/features/projects | |
parent | cc0305565704e8f713cd615f5a6767498bd03706 (diff) | |
download | gitlab-ce-ce0ce1cb196e924b13631565114352ed89eba5af.tar.gz |
consolidate back into one controller
Diffstat (limited to 'spec/features/projects')
-rw-r--r-- | spec/features/projects/clusters/gcp_spec.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/features/projects/clusters/gcp_spec.rb b/spec/features/projects/clusters/gcp_spec.rb index 31c0735f577..0ebe3459a65 100644 --- a/spec/features/projects/clusters/gcp_spec.rb +++ b/spec/features/projects/clusters/gcp_spec.rb @@ -20,10 +20,6 @@ feature 'Gcp Cluster', :js do .to receive(:token_in_session).and_return('token') allow_any_instance_of(Projects::ClustersController) .to receive(:expires_at_in_session).and_return(1.hour.since.to_i.to_s) - allow_any_instance_of(Projects::Clusters::GcpController) - .to receive(:token_in_session).and_return('token') - allow_any_instance_of(Projects::Clusters::GcpController) - .to receive(:expires_at_in_session).and_return(1.hour.since.to_i.to_s) end context 'when user does not have a cluster and visits cluster index page' do |