Commit e9f31c9e authored by Matija Čupić's avatar Matija Čupić

Remove double before block from GcpController spec

parent 45dadeec
...@@ -138,9 +138,6 @@ describe Projects::Clusters::GcpController do ...@@ -138,9 +138,6 @@ describe Projects::Clusters::GcpController do
before do before do
stub_google_api_validate_token stub_google_api_validate_token
allow_any_instance_of(described_class).to receive(:get_gcp_projects) allow_any_instance_of(described_class).to receive(:get_gcp_projects)
end
before do
allow_any_instance_of(described_class).to receive(:gcp_projects).and_return([double]) allow_any_instance_of(described_class).to receive(:gcp_projects).and_return([double])
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment