Skip to content

Commit e7c9743

Browse files
Add cases exercised in acceptance to unit testing
Add the test cases not present in unit testing, but used in acceptance testing, to the unit tests as well. Not everyone who works on the module has the ability to run the acceptance tests, but acceptance test failures should not come as a surprise to developers being diligent about passing all unit tests.
1 parent b880af5 commit e7c9743

File tree

3 files changed

+1205
-2
lines changed

3 files changed

+1205
-2
lines changed

spec/acceptance/firewall_attributes_exceptions_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class { '::firewall': }
6666

6767
it 'contains the rule' do
6868
run_shell('iptables-save') do |r|
69-
expect(r.stdout).not_to match(%r{-A INPUT -p tcp -m multiport --dports 9999561-562 -m comment --comment "560 - test" -j ACCEPT})
69+
expect(r.stdout).not_to match(%r{-A INPUT -p tcp -m multiport --dports 9999561-562 -m comment --comment "561 - test" -j ACCEPT})
7070
end
7171
end
7272
end

0 commit comments

Comments
 (0)