diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-03-23 16:57:33 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-03-23 16:57:33 +0300 |
commit | 3e01fed5cb36962065f5d19ab6a0cef1dfc14b48 (patch) | |
tree | 555b5d6f039551695d5cb4622d2ffa349b88839d /spec/models/container_repository_spec.rb | |
parent | 249084b48a86a99c02eefe45b507ebcdf811c20f (diff) |
Fix Rubocop offenses in container repository code
Diffstat (limited to 'spec/models/container_repository_spec.rb')
-rw-r--r-- | spec/models/container_repository_spec.rb | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/spec/models/container_repository_spec.rb b/spec/models/container_repository_spec.rb index 3997c4ca682..e3180e01758 100644 --- a/spec/models/container_repository_spec.rb +++ b/spec/models/container_repository_spec.rb @@ -14,12 +14,11 @@ describe ContainerRepository do host_port: 'registry.gitlab') stub_request(:get, 'http://registry.gitlab/v2/group/test/my_image/tags/list') - .with(headers: { - 'Accept' => 'application/vnd.docker.distribution.manifest.v2+json' }) + .with(headers: { 'Accept' => 'application/vnd.docker.distribution.manifest.v2+json' }) .to_return( - status: 200, - body: JSON.dump(tags: ['test_tag']), - headers: { 'Content-Type' => 'application/json' }) + status: 200, + body: JSON.dump(tags: ['test_tag']), + headers: { 'Content-Type' => 'application/json' }) end describe 'associations' do |