Sha256: 51fb3da1ce288cc1019a21c7ffde27f5734da970379863d6440606b0f7c078d4
Contents?: true
Size: 418 Bytes
Versions: 16
Compression:
Stored size: 418 Bytes
Contents
require 'spec_helper' describe 'Rake' do describe 'load' do before do Aerosol::Util.stub(:git_sha) end context 'when the aerosol.rb file does not exist' do before do File.stub(:exist?).and_return(false) end it 'raises an error' do lambda { Rake::Task['aerosol:load'].invoke }.should raise_error(RuntimeError, 'No aerosol.rb found!') end end end end
Version data entries
16 entries across 16 versions & 1 rubygems