diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-02-21 17:33:53 -0600 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-02-23 09:31:56 -0600 |
commit | c10064aad5d0e4ca1981fd898a6688e42ea8c9d0 (patch) | |
tree | 9c61c03ce7ff16a49cc3b328fc308cd41c65bd94 /spec/initializers | |
parent | b7d8df503cf35b3048b273dc0cadb5ec39aac5e1 (diff) | |
download | gitlab-ce-c10064aad5d0e4ca1981fd898a6688e42ea8c9d0.tar.gz |
Enable Style/SpaceInsideBrackets
Diffstat (limited to 'spec/initializers')
-rw-r--r-- | spec/initializers/trusted_proxies_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/initializers/trusted_proxies_spec.rb b/spec/initializers/trusted_proxies_spec.rb index 290e47763eb..ff8b8daa347 100644 --- a/spec/initializers/trusted_proxies_spec.rb +++ b/spec/initializers/trusted_proxies_spec.rb @@ -27,7 +27,7 @@ describe 'trusted_proxies', lib: true do context 'with private IP ranges added' do before do - set_trusted_proxies([ "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16" ]) + set_trusted_proxies(["10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]) end it 'filters out private and local IPs' do @@ -39,7 +39,7 @@ describe 'trusted_proxies', lib: true do context 'with proxy IP added' do before do - set_trusted_proxies([ "60.98.25.47" ]) + set_trusted_proxies(["60.98.25.47"]) end it 'filters out proxy IP' do |