From 6da746e5558277003e0373901c167f3c8a930666 Mon Sep 17 00:00:00 2001 From: ankitkataria Date: Thu, 28 Jun 2018 16:52:11 +0530 Subject: [PATCH] fix(*): rebases branch and fixes merge conflicts --- lib/cli.rb | 2 +- spec/unit/scrum/sprint_cleaner_spec.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/cli.rb b/lib/cli.rb index e2d0cc8..1187bdb 100644 --- a/lib/cli.rb +++ b/lib/cli.rb @@ -365,7 +365,7 @@ def cleanup_sprint planning_board: boards.planning_board(board_from_id(options['board-id'])), target_board: board_from_id(options['target-board-id']) ) - s.cleanup(options['set-last-sprint-label']) + s.cleanup(set_last_sprint_label: options['set-last-sprint-label']) end desc 'move-backlog', 'Move the planning backlog to the sprint board' diff --git a/spec/unit/scrum/sprint_cleaner_spec.rb b/spec/unit/scrum/sprint_cleaner_spec.rb index c8f2d07..954689d 100644 --- a/spec/unit/scrum/sprint_cleaner_spec.rb +++ b/spec/unit/scrum/sprint_cleaner_spec.rb @@ -65,9 +65,9 @@ end end - context 'with named parameter not given', :focus do + context 'with named parameter not given' do it 'should raise ArgumentError' do - expect { subject.cleanup('7Zar7bNm', '72tOJsGS', true) }.to raise_error(ArgumentError) + expect { subject.cleanup(true) }.to raise_error(ArgumentError) end end