Remove GCP Project list stub from GCP feature spec

This commit is contained in:
Matija Čupić 2018-05-02 17:32:57 +02:00
parent 534bb0b617
commit 3c81b62d9a
No known key found for this signature in database
GPG key ID: 4BAF84FFACD2E5DE

View file

@ -20,7 +20,6 @@ feature 'Gcp Cluster', :js do
.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)
allow_any_instance_of(Projects::Clusters::GcpController).to receive(:get_gcp_projects)
end
context 'when user does not have a cluster and visits cluster index page' do