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
Jérome Perrin
gitlab-ce
Commits
85324ff8
Commit
85324ff8
authored
Oct 13, 2016
by
Georg G
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix indentation and change inner matcher
parent
ce4dad45
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
spec/controllers/projects/graphs_controller_spec.rb
spec/controllers/projects/graphs_controller_spec.rb
+5
-5
No files found.
spec/controllers/projects/graphs_controller_spec.rb
View file @
85324ff8
...
@@ -12,10 +12,10 @@ describe Projects::GraphsController do
...
@@ -12,10 +12,10 @@ describe Projects::GraphsController do
describe
'GET #languages'
do
describe
'GET #languages'
do
let
(
:linguist_repository
)
do
let
(
:linguist_repository
)
do
double
(
languages:
{
double
(
languages:
{
'Ruby'
=>
1000
,
'Ruby'
=>
1000
,
'CoffeeScript'
=>
350
,
'CoffeeScript'
=>
350
,
'PowerShell'
=>
15
'PowerShell'
=>
15
})
})
end
end
let
(
:expected_values
)
do
let
(
:expected_values
)
do
...
@@ -37,7 +37,7 @@ describe Projects::GraphsController do
...
@@ -37,7 +37,7 @@ describe Projects::GraphsController do
get
(
:languages
,
namespace_id:
project
.
namespace
.
path
,
project_id:
project
.
path
,
id:
'master'
)
get
(
:languages
,
namespace_id:
project
.
namespace
.
path
,
project_id:
project
.
path
,
id:
'master'
)
expected_values
.
each
do
|
val
|
expected_values
.
each
do
|
val
|
expect
(
assigns
(
:languages
)).
to
include
(
include
(
val
))
expect
(
assigns
(
:languages
)).
to
include
(
a_hash_including
(
val
))
end
end
end
end
end
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