diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-08 18:10:00 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-08 18:10:00 +0300 |
commit | 0ebbf19f2d2b87e1f2aca1c59efde1aa6a766cf6 (patch) | |
tree | b45534e86659ab6fa97c240563651b2e03dfce4d /spec/lib/gitlab/file_hook_spec.rb | |
parent | ccc2dc45a3e8fab3dfeda097be601b16c5beff13 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib/gitlab/file_hook_spec.rb')
-rw-r--r-- | spec/lib/gitlab/file_hook_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/file_hook_spec.rb b/spec/lib/gitlab/file_hook_spec.rb index 7f40d9ae772..4fc55f7ad7e 100644 --- a/spec/lib/gitlab/file_hook_spec.rb +++ b/spec/lib/gitlab/file_hook_spec.rb @@ -9,7 +9,7 @@ RSpec.describe Gitlab::FileHook do let(:file_hook_source) do <<~EOS #!/usr/bin/env ruby - x = STDIN.read + x = $stdin.read File.write('#{tmp_file.path}', x) EOS end |