Sha256: 85666a26c0ab8140a45af05c656df3fc5316ceec5754e00893fc3308b551a429
Contents?: true
Size: 300 Bytes
Versions: 2
Compression:
Stored size: 300 Bytes
Contents
require "spec_helper" describe DispatchRider::DefaultErrorHandler do describe ".call" do let(:exception) { Exception.new("Something went terribly wrong") } example do expect { described_class.call("Error", exception) }.to raise_exception exception end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dispatch-rider-2.1.0 | spec/lib/dispatch-rider/default_error_handler_spec.rb |
dispatch-rider-2.0.0 | spec/lib/dispatch-rider/default_error_handler_spec.rb |