diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2018-07-02 13:57:38 +0000 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2018-07-09 21:13:08 +0800 |
commit | 9286f5b9340f92131c320c231a5fb3e51c23bf04 (patch) | |
tree | 49bbb5c1ebc03a9fda46791273e949a8e467710f /spec/lib/gitlab/workhorse_spec.rb | |
parent | 4ee08b77bc5ae11553d59c182ea8292b77699115 (diff) | |
download | gitlab-ce-9286f5b9340f92131c320c231a5fb3e51c23bf04.tar.gz |
Use stable gitlab-styles and eliminate offenses
Diffstat (limited to 'spec/lib/gitlab/workhorse_spec.rb')
-rw-r--r-- | spec/lib/gitlab/workhorse_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/workhorse_spec.rb b/spec/lib/gitlab/workhorse_spec.rb index 8fdcfe79fb5..7802ff1f5f6 100644 --- a/spec/lib/gitlab/workhorse_spec.rb +++ b/spec/lib/gitlab/workhorse_spec.rb @@ -177,7 +177,7 @@ describe Gitlab::Workhorse do end it 'accepts a trailing newline' do - open(described_class.secret_path, 'a') { |f| f.write "\n" } + File.open(described_class.secret_path, 'a') { |f| f.write "\n" } expect(subject.length).to eq(32) end |