Created
March 1, 2016 21:38
-
-
Save ffleming/d2b8af2ff5ef2c0fb857 to your computer and use it in GitHub Desktop.
Security spec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'open3' | |
RSpec.describe 'security' do | |
it 'should pass the audit' do | |
out, err, status = Open3.capture3('bundle-audit') | |
expect(out.strip).to eq 'No vulnerabilities found' | |
expect(status).to eq 0 | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment