Commit 31334803 authored by Thong Kuah's avatar Thong Kuah

Remove redundant let calls

There's already a existing :project created in the top let_it_be call
parent 52ffbbb9
......@@ -23,7 +23,6 @@ describe Projects::ClustersController do
describe 'functionality' do
context 'when project has one or more clusters' do
let(:project) { create(:project) }
let!(:enabled_cluster) { create(:cluster, :provided_by_gcp, projects: [project]) }
let!(:disabled_cluster) { create(:cluster, :disabled, :provided_by_gcp, :production_environment, projects: [project]) }
......@@ -53,8 +52,6 @@ describe Projects::ClustersController do
end
context 'when project does not have a cluster' do
let(:project) { create(:project) }
it 'returns an empty state page' do
go
......
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