Sha256: 8f0e411c5e249df11ae7c8981f2bff0e66287f002b92328f56e298f0caaae0dd
Contents?: true
Size: 310 Bytes
Versions: 1
Compression:
Stored size: 310 Bytes
Contents
require "spec_helper" module Nyanko describe ExceptionHandler do context "when Config.raise_error is truthy" do before do Config.raise_error = true end it "raises up error" do expect { described_class.handle(Exception.new) }.to raise_error end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nyanko-0.0.7 | spec/nyanko/exception_handler_spec.rb |