diff options
| author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-10-20 13:42:21 +0300 |
|---|---|---|
| committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-10-20 13:42:21 +0300 |
| commit | f0eacc10a6549a72eb7a3e936362e20da0b5ca3b (patch) | |
| tree | ac08795c54ab4f18d9beff76660fe35191269ed6 /spec | |
| parent | 32f6d4f8fb4e6c84972b4b23f5a2891c899922c8 (diff) | |
| download | gitlab-shell-f0eacc10a6549a72eb7a3e936362e20da0b5ca3b.tar.gz | |
Fix indentation
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/gitlab_net_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/gitlab_net_spec.rb b/spec/gitlab_net_spec.rb index b62e2c6..9ccabe0 100644 --- a/spec/gitlab_net_spec.rb +++ b/spec/gitlab_net_spec.rb @@ -37,10 +37,10 @@ describe GitlabNet, vcr: true do it 'adds the secret_token to request' do VCR.use_cassette("discover-ok") do - Net::HTTP::Get.any_instance.should_receive(:set_form_data).with(hash_including(secret_token: 'a123')) - gitlab_net.discover('key-126') - end + Net::HTTP::Get.any_instance.should_receive(:set_form_data).with(hash_including(secret_token: 'a123')) + gitlab_net.discover('key-126') end + end end describe :allowed? do @@ -55,7 +55,7 @@ describe GitlabNet, vcr: true do it 'adds the secret_token theo request' do VCR.use_cassette("allowed-pull") do Net::HTTP::Post.any_instance.should_receive(:set_form_data).with(hash_including(secret_token: 'a123')) - gitlab_net.allowed?('git-receive-pack', 'gitlab/gitlabhq.git', 'key-126', changes) + gitlab_net.allowed?('git-receive-pack', 'gitlab/gitlabhq.git', 'key-126', changes) end end |
