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
Léo-Paul Géneau
gitlab-ce
Commits
fe25d1d5
Commit
fe25d1d5
authored
Aug 01, 2016
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix specs
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
3fe18525
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
spec/finders/branches_finder_spec.rb
spec/finders/branches_finder_spec.rb
+1
-1
spec/lib/gitlab/highlight_spec.rb
spec/lib/gitlab/highlight_spec.rb
+1
-1
No files found.
spec/finders/branches_finder_spec.rb
View file @
fe25d1d5
...
@@ -20,7 +20,7 @@ describe BranchesFinder do
...
@@ -20,7 +20,7 @@ describe BranchesFinder do
result
=
branches_finder
.
execute
result
=
branches_finder
.
execute
expect
(
result
.
first
.
name
).
to
eq
(
'
video
'
)
expect
(
result
.
first
.
name
).
to
eq
(
'
crlf-diff
'
)
end
end
it
'sorts by last_updated'
do
it
'sorts by last_updated'
do
...
...
spec/lib/gitlab/highlight_spec.rb
View file @
fe25d1d5
...
@@ -22,7 +22,7 @@ describe Gitlab::Highlight, lib: true do
...
@@ -22,7 +22,7 @@ describe Gitlab::Highlight, lib: true do
let
(
:branch
)
{
'crlf-diff'
}
let
(
:branch
)
{
'crlf-diff'
}
let
(
:blob
)
{
repository
.
blob_at_branch
(
branch
,
path
)
}
let
(
:blob
)
{
repository
.
blob_at_branch
(
branch
,
path
)
}
let
(
:lines
)
do
let
(
:lines
)
do
Gitlab
::
Highlight
.
highlight_lines
(
project
.
repository
,
'crlf-diff
-test
'
,
'files/whitespace'
)
Gitlab
::
Highlight
.
highlight_lines
(
project
.
repository
,
'crlf-diff'
,
'files/whitespace'
)
end
end
it
'strips extra LFs'
do
it
'strips extra LFs'
do
...
...
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