Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec/lib
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2015-06-23 08:25:21 +0300
committerStan Hu <stanhu@gmail.com>2015-06-23 08:25:21 +0300
commit3446bea719d3e99fbcf91cab8792297cf286fa9c (patch)
treec66df6c27dfd8c50b4d1060568647c154904591e /spec/lib
parent359ed48638a7442f36b271f283d6a7b8d31225c4 (diff)
Fix Style/CaseIndentation cop violations
Diffstat (limited to 'spec/lib')
-rw-r--r--spec/lib/gitlab/satellite/action_spec.rb20
1 files changed, 10 insertions, 10 deletions
diff --git a/spec/lib/gitlab/satellite/action_spec.rb b/spec/lib/gitlab/satellite/action_spec.rb
index 4e27a9a4088..0a93676edc3 100644
--- a/spec/lib/gitlab/satellite/action_spec.rb
+++ b/spec/lib/gitlab/satellite/action_spec.rb
@@ -98,16 +98,16 @@ describe 'Gitlab::Satellite::Action' do
def flocked?(&block)
status = flock LOCK_EX|LOCK_NB
case status
- when false
- return true
- when 0
- begin
- block ? block.call : false
- ensure
- flock LOCK_UN
- end
- else
- raise SystemCallError, status
+ when false
+ return true
+ when 0
+ begin
+ block ? block.call : false
+ ensure
+ flock LOCK_UN
+ end
+ else
+ raise SystemCallError, status
end
end
end