Skip to content

Commit a0580b5

Browse files
committed
fix spec test add missing negation of test
1 parent 21c9091 commit a0580b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/defines/vhost_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1814,7 +1814,7 @@
18141814
end
18151815

18161816
it {
1817-
is_expected.to contain_concat__fragment('rspec.example.com-rewrite')
1817+
is_expected.not_to contain_concat__fragment('rspec.example.com-rewrite')
18181818
.with_content(%r{^\s+RewriteOptions Inherit$})
18191819
.with_content(%r{^\s+RewriteEngine On$})
18201820
.with_content(%r{^\s+RewriteRule ^index\.html$ welcome.html$})
@@ -1829,7 +1829,7 @@
18291829
end
18301830

18311831
it {
1832-
is_expected.to contain_concat__fragment('rspec.example.com-rewrite')
1832+
is_expected.not_to contain_concat__fragment('rspec.example.com-rewrite')
18331833
.with_content(%r{^\s+RewriteEngine On$})
18341834
.with_content(%r{^\s+RewriteRule ^index\.html$ welcome.html$})
18351835
.without(content: %r{^\s+RewriteOptions Inherit$})

0 commit comments

Comments
 (0)