Sha256: 20f09ed1cf7f324d675f21a904884ff59aec9d00c2262ea9b4b2f763c7322700

Contents?: true

Size: 380 Bytes

Versions: 13

Compression:

Stored size: 380 Bytes

Contents

require 'spec_helper'

describe Appsignal::ExceptionNotification do
  let(:error) { StandardError.new('moo') }
  let(:notification) { Appsignal::ExceptionNotification.new({}, error) }
  subject { notification }
  before { Rails.stub(:respond_to? => false) }

  its(:exception) { should == error }
  its(:name) { should == 'StandardError' }
  its(:message) { should == 'moo' }
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
appsignal-0.6.1 spec/appsignal/exception_notification_spec.rb
appsignal-0.6.0.beta.2 spec/appsignal/exception_notification_spec.rb
appsignal-0.6.0.beta.1 spec/appsignal/exception_notification_spec.rb
appsignal-0.5.5 spec/appsignal/exception_notification_spec.rb
appsignal-0.5.3 spec/appsignal/exception_notification_spec.rb
appsignal-0.5.1 spec/appsignal/exception_notification_spec.rb
appsignal-0.5.0 spec/appsignal/exception_notification_spec.rb
appsignal-0.4.7 spec/appsignal/exception_notification_spec.rb
appsignal-0.4.6 spec/appsignal/exception_notification_spec.rb
appsignal-0.4.5 spec/appsignal/exception_notification_spec.rb
appsignal-0.4.4 spec/appsignal/exception_notification_spec.rb
appsignal-0.4.3 spec/appsignal/exception_notification_spec.rb
appsignal-0.4.0 spec/appsignal/exception_notification_spec.rb