spec/extractor_spec.rb in ffi-extractor-0.1.0 vs spec/extractor_spec.rb in ffi-extractor-0.1.1

- old
+ new

@@ -7,11 +7,11 @@ it "should have a VERSION constant" do subject.const_get('VERSION').should_not be_empty end describe "abort!" do - it "should throw :return" do - lambda { subject.abort! }.should throw_symbol :return + it "should throw :return, 1" do + lambda { subject.abort! }.should throw_symbol(:return, 1) end end let(:file) { 'spec/files/image.jpg' } let(:data) { File.new(file,'rb').read }