We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 799b887 commit 0221290Copy full SHA for 0221290
test/exception_notifier/slack_notifier_test.rb
@@ -42,19 +42,6 @@ class SlackNotifierTest < ActiveSupport::TestCase
42
assert_equal slack_notifier.notifier.username, options[:username]
43
end
44
45
- test "should have the username 'ExceptionNotifierBot' when unspecified" do
46
- options = {
47
- webhook_url: "http://slack.webhook.url",
48
- }
49
-
50
- Slack::Notifier.any_instance.expects(:ping).with(fake_notification, {})
51
52
- slack_notifier = ExceptionNotifier::SlackNotifier.new(options)
53
- slack_notifier.call(fake_exception)
54
55
- assert_equal slack_notifier.notifier.username, 'ExceptionNotifierBot'
56
- end
57
58
test "should pass the additional parameters to Slack::Notifier.ping" do
59
options = {
60
webhook_url: "http://slack.webhook.url",
0 commit comments