spec/libraries_spec.rb in rake-builder-0.0.13 vs spec/libraries_spec.rb in rake-builder-0.0.14

- old
+ new

@@ -20,14 +20,14 @@ Rake::Task[ 'build' ].invoke end.should_not raise_error end it 'fails to build if libraries are missing' do - lambda do + expect do @project = cpp_task( :executable ) do |builder| builder.library_dependencies = [ 'library_that_doesnt_exist' ] end Rake::Task[ 'build' ].invoke - end.should raise_error( Rake::BuildFailureError ) + end.to raise_error( Rake::Builder::BuildFailure ) end end