require_relative '../lib/abcing/scanner.rb'

describe ABCing::Scanner do
  it 'scans' do
    params = { app_directories: [], test_directories: [] }
    scanner = ABCing::Scanner.new(params)
  end

  context 'Does not scan' do
    it 'raises an error when supplied with nil params' do
      expect { ABCing::Scanner.new(nil) }.to raise_error()
    end
  end
end

require_relative '../lib/abcing/scanner.rb'

describe ABCing::Scanner do
  it 'scans' do
    params = { app_directories: [], test_directories: [] }
    scanner = ABCing::Scanner.new(params)
  end

  context 'Raises an error' do
    it 'when supplied with nil params' do
      expect { ABCing::Scanner.new(nil) }.to raise_error()
    end
  end
end

Create context for error on scanner.
Create context for error on scanner.
