diff --git a/spec/models/project_spec.rb b/spec/models/project_spec.rb index 163b7caf55aa5b3777de12eaebe0ddc32f549c7f..cbd1f5f9e32282bfb0630d3ca3ad2c2b65053599 100644 --- a/spec/models/project_spec.rb +++ b/spec/models/project_spec.rb @@ -1158,7 +1158,7 @@ describe Project, models: true do @build2_p2 = create_build(@pipeline2, 'test2') end - it 'gives the latest build from latest pipeline' do + it 'gives the latest builds from latest pipeline' do latest_builds = project.latest_successful_builds_for expect(latest_builds).to contain_exactly(@build2_p2, @build1_p2)