Skip to content

Commit

Permalink
Auto corrected by following Lint Ruby Lint/InheritException
Browse files Browse the repository at this point in the history
  • Loading branch information
Awesome Code committed Oct 10, 2019
1 parent 36f085e commit 11916a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/uniform_notifier/raise_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
end

it 'allows the user to override the default exception class' do
klass = Class.new(Exception)
klass = Class.new(RuntimeError)
UniformNotifier.raise = klass
expect { UniformNotifier::Raise.out_of_channel_notify(title: 'notification') }.to raise_error(klass, 'notification')
end
Expand Down

0 comments on commit 11916a6

Please sign in to comment.