diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2018-11-01 10:34:23 +0000 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2018-11-01 10:34:23 +0000 |
commit | 7f47e13218477c13cc627c2f0664500b72ea18b7 (patch) | |
tree | 077f08ada085795dab3a4ecbcfa0436d67642977 /spec/support/shared_examples/services/boards/lists_move_service.rb | |
parent | 1c50200b9aba86d2ba66b81dee7886a51dc38409 (diff) | |
parent | 733ae9492129e835f183902a97ee0886e2dbdc9b (diff) | |
download | gitlab-ce-7f47e13218477c13cc627c2f0664500b72ea18b7.tar.gz |
Merge branch 'gt-update-typos-in-comments-and-specs' into 'master'
Fix typos in comments and specs
See merge request gitlab-org/gitlab-ce!22683
Diffstat (limited to 'spec/support/shared_examples/services/boards/lists_move_service.rb')
-rw-r--r-- | spec/support/shared_examples/services/boards/lists_move_service.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/support/shared_examples/services/boards/lists_move_service.rb b/spec/support/shared_examples/services/boards/lists_move_service.rb index 07c98cb29b7..2cdb968a45d 100644 --- a/spec/support/shared_examples/services/boards/lists_move_service.rb +++ b/spec/support/shared_examples/services/boards/lists_move_service.rb @@ -14,7 +14,7 @@ shared_examples 'lists move service' do expect(current_list_positions).to eq [0, 1, 2, 3] end - it 'keeps position of lists when new positon is equal to old position' do + it 'keeps position of lists when new position is equal to old position' do service = described_class.new(parent, user, position: planning.position) service.execute(planning) @@ -22,7 +22,7 @@ shared_examples 'lists move service' do expect(current_list_positions).to eq [0, 1, 2, 3] end - it 'keeps position of lists when new positon is negative' do + it 'keeps position of lists when new position is negative' do service = described_class.new(parent, user, position: -1) service.execute(planning) @@ -30,7 +30,7 @@ shared_examples 'lists move service' do expect(current_list_positions).to eq [0, 1, 2, 3] end - it 'keeps position of lists when new positon is equal to number of labels lists' do + it 'keeps position of lists when new position is equal to number of labels lists' do service = described_class.new(parent, user, position: board.lists.label.size) service.execute(planning) @@ -38,7 +38,7 @@ shared_examples 'lists move service' do expect(current_list_positions).to eq [0, 1, 2, 3] end - it 'keeps position of lists when new positon is greater than number of labels lists' do + it 'keeps position of lists when new position is greater than number of labels lists' do service = described_class.new(parent, user, position: board.lists.label.size + 1) service.execute(planning) @@ -46,7 +46,7 @@ shared_examples 'lists move service' do expect(current_list_positions).to eq [0, 1, 2, 3] end - it 'increments position of intermediate lists when new positon is equal to first position' do + it 'increments position of intermediate lists when new position is equal to first position' do service = described_class.new(parent, user, position: 0) service.execute(staging) @@ -54,7 +54,7 @@ shared_examples 'lists move service' do expect(current_list_positions).to eq [1, 2, 3, 0] end - it 'decrements position of intermediate lists when new positon is equal to last position' do + it 'decrements position of intermediate lists when new position is equal to last position' do service = described_class.new(parent, user, position: board.lists.label.last.position) service.execute(planning) |