Skip to content

Commit f83639c

Browse files
author
jordanbreen28
committed
(CONT-792) - Correct Layout/SpaceAroundMethodCallOperator
1 parent 7606efa commit f83639c

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

.rubocop_todo.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
# Offense count: 6
2-
# This cop supports safe autocorrection (--autocorrect).
3-
Layout/SpaceAroundMethodCallOperator:
4-
Exclude:
5-
- 'spec/classes/server/config_spec.rb'
6-
71
# Offense count: 15
82
# This cop supports unsafe autocorrection (--autocorrect-all).
93
Lint/BooleanSymbol:

spec/classes/server/config_spec.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
it 'has the correct systemd-override drop file' do
2323
is_expected.to contain_file('/etc/systemd/system/postgresql.service.d/postgresql.conf').with(
2424
ensure: 'file', owner: 'root', group: 'root',
25-
) .that_requires('File[/etc/systemd/system/postgresql.service.d]')
25+
).that_requires('File[/etc/systemd/system/postgresql.service.d]')
2626
end
2727

2828
it 'has the correct systemd-override file #regex' do
@@ -59,7 +59,7 @@ class { 'postgresql::server': }
5959
end
6060

6161
it 'has the correct systemd-override file #regex' do
62-
is_expected.to contain_file('/etc/systemd/system/postgresql-10.service.d/postgresql-10.conf') .without_content(%r{\.include})
62+
is_expected.to contain_file('/etc/systemd/system/postgresql-10.service.d/postgresql-10.conf').without_content(%r{\.include})
6363
end
6464
end
6565
end
@@ -79,7 +79,7 @@ class { 'postgresql::server': }
7979
it 'has the correct systemd-override drop file' do
8080
is_expected.to contain_file('/etc/systemd/system/postgresql.service.d/postgresql.conf').with(
8181
ensure: 'file', owner: 'root', group: 'root',
82-
) .that_requires('File[/etc/systemd/system/postgresql.service.d]')
82+
).that_requires('File[/etc/systemd/system/postgresql.service.d]')
8383
end
8484

8585
it 'has the correct systemd-override file #regex' do
@@ -103,7 +103,7 @@ class { 'postgresql::server': }
103103
)
104104
end
105105
it 'has the correct systemd-override file #regex' do
106-
is_expected.to contain_file('/etc/systemd/system/postgresql-14.service.d/postgresql-14.conf') .without_content(%r{\.include})
106+
is_expected.to contain_file('/etc/systemd/system/postgresql-14.service.d/postgresql-14.conf').without_content(%r{\.include})
107107
end
108108
end
109109
end
@@ -123,7 +123,7 @@ class { 'postgresql::server': }
123123
it 'has the correct systemd-override drop file' do
124124
is_expected.to contain_file('/etc/systemd/system/postgresql.service.d/postgresql.conf').with(
125125
ensure: 'file', owner: 'root', group: 'root',
126-
) .that_requires('File[/etc/systemd/system/postgresql.service.d]')
126+
).that_requires('File[/etc/systemd/system/postgresql.service.d]')
127127
end
128128

129129
it 'has the correct systemd-override file #regex' do
@@ -148,7 +148,7 @@ class { 'postgresql::server': }
148148
end
149149

150150
it 'has the correct systemd-override file #regex' do
151-
is_expected.to contain_file('/etc/systemd/system/postgresql-13.service.d/postgresql-13.conf') .without_content(%r{\.include})
151+
is_expected.to contain_file('/etc/systemd/system/postgresql-13.service.d/postgresql-13.conf').without_content(%r{\.include})
152152
end
153153
end
154154
end

0 commit comments

Comments
 (0)