Sha256: 859567464a0445bb740c8718c9f590553d882c1d9e434eb4c70e82454f3cb34a
Contents?: true
Size: 331 Bytes
Versions: 1
Compression:
Stored size: 331 Bytes
Contents
# frozen_string_literal: true 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dispatch-rider-2.2.0 | spec/lib/dispatch-rider/default_error_handler_spec.rb |