Commit 85324ff8 authored by Georg G's avatar Georg G

Fix indentation and change inner matcher

parent ce4dad45
......@@ -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
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment