Commit ae01168b authored by Jonathan Schafer's avatar Jonathan Schafer

Add test to check for lack of error

parent fb17006c
......@@ -171,6 +171,10 @@ RSpec.describe Security::StoreReportService, '#execute' do
it 'does not create a new finding' do
expect { subject }.not_to change { Vulnerabilities::Finding.count }
end
it 'does not raise an error' do
expect { subject }.not_to raise_error
end
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment