Skip to content
Snippets Groups Projects
Commit 85324ff8 authored by Georg G's avatar Georg G
Browse files

Fix indentation and change inner matcher

parent ce4dad45
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -12,10 +12,10 @@ describe Projects::GraphsController do
describe 'GET #languages' do
let(:linguist_repository) do
double(languages: {
'Ruby' => 1000,
'CoffeeScript' => 350,
'PowerShell' => 15
})
'Ruby' => 1000,
'CoffeeScript' => 350,
'PowerShell' => 15
})
end
 
let(:expected_values) do
Loading
Loading
@@ -37,7 +37,7 @@ describe Projects::GraphsController do
get(:languages, namespace_id: project.namespace.path, project_id: project.path, id: 'master')
 
expected_values.each do |val|
expect(assigns(:languages)).to include(include(val))
expect(assigns(:languages)).to include(a_hash_including(val))
end
end
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment