diff --git a/app/models/concerns/relative_positioning.rb b/app/models/concerns/relative_positioning.rb index 9cb3d6dabe2..603f2dd7e5d 100644 --- a/app/models/concerns/relative_positioning.rb +++ b/app/models/concerns/relative_positioning.rb @@ -16,7 +16,6 @@ module RelativePositioning self.class.in_projects(project.id).maximum(:relative_position) end - def prev_relative_position prev_pos = nil diff --git a/spec/models/concerns/relative_positioning_spec.rb b/spec/models/concerns/relative_positioning_spec.rb index 901bde8e8dd..69906382545 100644 --- a/spec/models/concerns/relative_positioning_spec.rb +++ b/spec/models/concerns/relative_positioning_spec.rb @@ -44,7 +44,6 @@ describe Issue, 'RelativePositioning' do end end - describe '#move_before' do it 'moves issue before' do [issue1, issue].each(&:move_to_end)