Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 76c316e

Browse files
committedAug 17, 2024··
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 76c316e

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+UserDir enabled bob$})
21802180
end
21812181
end
21822182
end

0 commit comments

Comments
 (0)
Please sign in to comment.