Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
8a199f32
Commit
8a199f32
authored
Mar 07, 2017
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unneccessary blank lines
parent
3420c6cc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
2 deletions
+0
-2
app/models/concerns/relative_positioning.rb
app/models/concerns/relative_positioning.rb
+0
-1
spec/models/concerns/relative_positioning_spec.rb
spec/models/concerns/relative_positioning_spec.rb
+0
-1
No files found.
app/models/concerns/relative_positioning.rb
View file @
8a199f32
...
@@ -16,7 +16,6 @@ module RelativePositioning
...
@@ -16,7 +16,6 @@ module RelativePositioning
self
.
class
.
in_projects
(
project
.
id
).
maximum
(
:relative_position
)
self
.
class
.
in_projects
(
project
.
id
).
maximum
(
:relative_position
)
end
end
def
prev_relative_position
def
prev_relative_position
prev_pos
=
nil
prev_pos
=
nil
...
...
spec/models/concerns/relative_positioning_spec.rb
View file @
8a199f32
...
@@ -44,7 +44,6 @@ describe Issue, 'RelativePositioning' do
...
@@ -44,7 +44,6 @@ describe Issue, 'RelativePositioning' do
end
end
end
end
describe
'#move_before'
do
describe
'#move_before'
do
it
'moves issue before'
do
it
'moves issue before'
do
[
issue1
,
issue
].
each
(
&
:move_to_end
)
[
issue1
,
issue
].
each
(
&
:move_to_end
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment