BigW Consortium Gitlab

Commit 01dcb5c2 by Lin Jen-Shin

Lose unneeded instance variables and variables, feedback:

parent caf6438a
...@@ -1134,12 +1134,12 @@ describe Project, models: true do ...@@ -1134,12 +1134,12 @@ describe Project, models: true do
context 'with many builds' do context 'with many builds' do
before do before do
@pipeline1 = create_pipeline pipeline1 = create_pipeline
@pipeline2 = create_pipeline pipeline2 = create_pipeline
@build1_p2 = create_build(@pipeline2, 'test') @build1_p2 = create_build(pipeline2, 'test')
@build1_p1 = create_build(@pipeline1, 'test') create_build(pipeline1, 'test')
@build2_p1 = create_build(@pipeline1, 'test2') create_build(pipeline1, 'test2')
@build2_p2 = create_build(@pipeline2, 'test2') @build2_p2 = create_build(pipeline2, 'test2')
end end
it 'gives the latest builds from latest pipeline' do it 'gives the latest builds from latest pipeline' do
......
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