Skip to content

Commit c1ca0e2

Browse files
committed
Move expectation out of let block
Otherwise it isn't executed. Fixes: ec74a8e ("Add support for setting UserDir in Virtual Hosts")
1 parent 6d218cf commit c1ca0e2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

spec/defines/vhost_spec.rb

+5-5
Original file line numberDiff line numberDiff line change
@@ -2171,12 +2171,12 @@
21712171
'enabled bob',
21722172
],
21732173
)
2174+
end
21742175

2175-
it {
2176-
expect(subject).to contain_concat__fragment('rspec.example.com-apache-userdir')
2177-
.with(content: %r{^\s+UserDir disabled$})
2178-
.with(content: %r{^\s+UUserDir enabled bob$})
2179-
}
2176+
it do
2177+
expect(subject).to contain_concat__fragment('rspec.example.com-apache-userdir')
2178+
.with(content: %r{^\s+UserDir disabled$})
2179+
.with(content: %r{^\s+UUserDir enabled bob$})
21802180
end
21812181
end
21822182
end

0 commit comments

Comments
 (0)