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
Tatuya Kamada
gitlab-ce
Commits
b64020de
Commit
b64020de
authored
Mar 02, 2017
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Satisfy rubocop
parent
1bb32a79
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
db/migrate/20170131221752_add_relative_position_to_issues.rb
db/migrate/20170131221752_add_relative_position_to_issues.rb
+1
-1
spec/services/issues/update_service_spec.rb
spec/services/issues/update_service_spec.rb
+1
-1
No files found.
db/migrate/20170131221752_add_relative_position_to_issues.rb
View file @
b64020de
...
...
@@ -26,6 +26,6 @@ class AddRelativePositionToIssues < ActiveRecord::Migration
def
change
add_column
:issues
,
:relative_position
,
:integer
add_index
:issues
,
:relative_position
add_
concurrent_
index
:issues
,
:relative_position
end
end
spec/services/issues/update_service_spec.rb
View file @
b64020de
...
...
@@ -67,7 +67,7 @@ describe Issues::UpdateService, services: true do
issue
.
save
end
opts
.
merge!
move_between_iids:
[
issue1
.
iid
,
issue2
.
iid
]
opts
[
:move_between_iids
]
=
[
issue1
.
iid
,
issue2
.
iid
]
update_issue
(
opts
)
...
...
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