Sha256: 66bbe8356b36e3481ba197de5005f235736d398489cfdd160d061e7c6901edac
Contents?: true
Size: 553 Bytes
Versions: 1
Compression:
Stored size: 553 Bytes
Contents
require 'acceptance_spec_helper' RSpec.describe Pluginscan::Scanner, type: [:file, :process] do before do # these are slow, so don't run them if we don't have to stub_sloccount stub_cloc stub_vuln_check end describe '.scan' do it "raises an error when the directory could not be found" do # This should never happen when called from the command line - # bin/pluginscan should check that the directory exists first expect{ Pluginscan::Scanner.new.scan("a") }.to raise_error Errno::ENOENT end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pluginscan-0.9.0 | spec/acceptance/pluginscan_spec.rb |