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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
c13299c0
Commit
c13299c0
authored
Aug 05, 2019
by
Sean McGivern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove specs for #shift_{after,before}?
These methods don't exist any more.
parent
aab1e72e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
28 deletions
+0
-28
ee/spec/models/issue_spec.rb
ee/spec/models/issue_spec.rb
+0
-28
No files found.
ee/spec/models/issue_spec.rb
View file @
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
)
...
...
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