Commit 2b28109a authored by Bob Van Landuyt's avatar Bob Van Landuyt

Merge branch 'remove-ee-specs-for-removed-method' into 'master'

Remove specs for #shift_{after,before}?

Closes #13301

See merge request gitlab-org/gitlab-ee!14994
parents d91e188f c13299c0
......@@ -230,34 +230,6 @@ describe Issue do
end
end
describe '#shift_after?' do
it 'returns true' do
issue.update(relative_position: issue1.relative_position - 1)
expect(issue.shift_after?).to be_truthy
end
it 'returns false' do
issue.update(relative_position: issue1.relative_position - 2)
expect(issue.shift_after?).to be_falsey
end
end
describe '#shift_before?' do
it 'returns true' do
issue.update(relative_position: issue1.relative_position + 1)
expect(issue.shift_before?).to be_truthy
end
it 'returns false' do
issue.update(relative_position: issue1.relative_position + 2)
expect(issue.shift_before?).to be_falsey
end
end
describe '#move_between' do
it 'positions issue between two other' do
new_issue.move_between(issue, issue1)
......
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