diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-08-03 16:55:10 +0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-08-17 18:58:58 +0300 |
commit | 1fa7274c48a5741d1526a68f872380520e683827 (patch) | |
tree | 3ef49b2cd2b683f941ab064fe7a890286001fadc /spec/services/boards | |
parent | 64d7559532cf033845bbfdc942ee9ea02076e602 (diff) |
Rename `list_id` param to `id` in Boards::Issues::ListService
Diffstat (limited to 'spec/services/boards')
-rw-r--r-- | spec/services/boards/issues/list_service_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/services/boards/issues/list_service_spec.rb b/spec/services/boards/issues/list_service_spec.rb index e809e80409b..010f097802d 100644 --- a/spec/services/boards/issues/list_service_spec.rb +++ b/spec/services/boards/issues/list_service_spec.rb @@ -37,7 +37,7 @@ describe Boards::Issues::ListService, services: true do end it 'delegates search to IssuesFinder' do - params = { list_id: list1.id } + params = { id: list1.id } expect_any_instance_of(IssuesFinder).to receive(:execute).once @@ -46,7 +46,7 @@ describe Boards::Issues::ListService, services: true do context 'sets default order to priority' do it 'returns opened issues when listing issues from Backlog' do - params = { list_id: backlog.id } + params = { id: backlog.id } issues = described_class.new(project, user, params).execute @@ -54,7 +54,7 @@ describe Boards::Issues::ListService, services: true do end it 'returns closed issues when listing issues from Done' do - params = { list_id: done.id } + params = { id: done.id } issues = described_class.new(project, user, params).execute @@ -62,7 +62,7 @@ describe Boards::Issues::ListService, services: true do end it 'returns opened issues that have label list applied when listing issues from a label list' do - params = { list_id: list1.id } + params = { id: list1.id } issues = described_class.new(project, user, params).execute |