summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-10-20 13:42:21 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-10-20 13:42:21 +0300
commitf0eacc10a6549a72eb7a3e936362e20da0b5ca3b (patch)
treeac08795c54ab4f18d9beff76660fe35191269ed6
parent32f6d4f8fb4e6c84972b4b23f5a2891c899922c8 (diff)
downloadgitlab-shell-f0eacc10a6549a72eb7a3e936362e20da0b5ca3b.tar.gz
Fix indentation
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--VERSION2
-rw-r--r--spec/gitlab_net_spec.rb8
2 files changed, 5 insertions, 5 deletions
diff --git a/VERSION b/VERSION
index 50aea0e..7ec1d6d 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.1.0 \ No newline at end of file
+2.1.0
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