diff options
author | Phil Hughes <me@iamphill.com> | 2017-06-06 12:59:50 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-06-06 12:59:50 +0100 |
commit | e7b4eade0d69a70400a8d18ec72218c7b0bf1517 (patch) | |
tree | ee25ce14951b9532366c95d9d2c17dd4dddf767f /spec/services/boards | |
parent | a980a4f63856af0b4edc54b2457eeb80321e4f87 (diff) | |
download | gitlab-ce-e7b4eade0d69a70400a8d18ec72218c7b0bf1517.tar.gz |
moved creating backlog list into list service
Diffstat (limited to 'spec/services/boards')
-rw-r--r-- | spec/services/boards/issues/list_service_spec.rb | 2 | ||||
-rw-r--r-- | spec/services/boards/lists/list_service_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/boards/issues/list_service_spec.rb b/spec/services/boards/issues/list_service_spec.rb index a66cc2cd6e9..a1e220c2322 100644 --- a/spec/services/boards/issues/list_service_spec.rb +++ b/spec/services/boards/issues/list_service_spec.rb @@ -67,7 +67,7 @@ describe Boards::Issues::ListService, services: true do issues = described_class.new(project, user, params).execute - expect(issues).to eq [closed_issue4, closed_issue2, closed_issue5, closed_issue3, closed_issue1] + expect(issues).to eq [closed_issue4, closed_issue2, closed_issue3, closed_issue1] end it 'returns opened issues that have label list applied when listing issues from a label list' do diff --git a/spec/services/boards/lists/list_service_spec.rb b/spec/services/boards/lists/list_service_spec.rb index ab9fb1bc914..97063381196 100644 --- a/spec/services/boards/lists/list_service_spec.rb +++ b/spec/services/boards/lists/list_service_spec.rb @@ -10,7 +10,7 @@ describe Boards::Lists::ListService, services: true do service = described_class.new(project, double) - expect(service.execute(board)).to eq [list, board.closed_list] + expect(service.execute(board)).to eq [board.backlog_list, list, board.closed_list] end end end |