diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-02-21 17:33:53 -0600 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-02-23 09:31:56 -0600 |
commit | c10064aad5d0e4ca1981fd898a6688e42ea8c9d0 (patch) | |
tree | 9c61c03ce7ff16a49cc3b328fc308cd41c65bd94 /spec/lib/bitbucket/representation | |
parent | b7d8df503cf35b3048b273dc0cadb5ec39aac5e1 (diff) | |
download | gitlab-ce-c10064aad5d0e4ca1981fd898a6688e42ea8c9d0.tar.gz |
Enable Style/SpaceInsideBrackets
Diffstat (limited to 'spec/lib/bitbucket/representation')
-rw-r--r-- | spec/lib/bitbucket/representation/repo_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/bitbucket/representation/repo_spec.rb b/spec/lib/bitbucket/representation/repo_spec.rb index adcd978e1b3..d9228230145 100644 --- a/spec/lib/bitbucket/representation/repo_spec.rb +++ b/spec/lib/bitbucket/representation/repo_spec.rb @@ -42,7 +42,7 @@ describe Bitbucket::Representation::Repo do describe '#clone_url' do it 'builds url' do - data = { 'links' => { 'clone' => [ { 'name' => 'https', 'href' => 'https://bibucket.org/test/test.git' }] } } + data = { 'links' => { 'clone' => [{ 'name' => 'https', 'href' => 'https://bibucket.org/test/test.git' }] } } expect(described_class.new(data).clone_url('abc')).to eq('https://x-token-auth:abc@bibucket.org/test/test.git') end end |