diff options
author | Ciro Santilli <ciro.santilli@gmail.com> | 2014-09-26 00:07:40 +0200 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@gmail.com> | 2014-10-03 09:18:46 +0200 |
commit | 2e9f5de86896e53e9cf34aef52bbc2ad08019a21 (patch) | |
tree | 48c469b4e8a9f4596f978a2602e4d3b5cfbece86 /spec | |
parent | a3d90c5045ae322a013484165cdebcd764dc5d69 (diff) | |
download | gitlab-ce-2e9f5de86896e53e9cf34aef52bbc2ad08019a21.tar.gz |
Add parenthesis to function def with arguments.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/gitlab/satellite/action_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/satellite/action_spec.rb b/spec/lib/gitlab/satellite/action_spec.rb index 2af1e9e32f9..3eb1258d67e 100644 --- a/spec/lib/gitlab/satellite/action_spec.rb +++ b/spec/lib/gitlab/satellite/action_spec.rb @@ -97,7 +97,7 @@ describe 'Gitlab::Satellite::Action' do end class FileLockStatusChecker < File - def flocked? &block + def flocked?(&block) status = flock LOCK_EX|LOCK_NB case status when false |