spec/rubymisc/exceptional_spec.rb in rubymisc-0.0.3.3 vs spec/rubymisc/exceptional_spec.rb in rubymisc-0.0.4

- old
+ new

@@ -1,9 +1,9 @@ # encoding: utf-8 require 'spec_helper' -describe Rubymisc::Exceptional do +describe Rbm::Exceptional do describe '#ASSERT' do specify 'catches failing block and swallows the exception' do failing_proc = -> { fail SecurityError.new('Fail message!') } expect { ASSERT &failing_proc }.not_to raise_error end