Update Bugsnag config naming

This commit is contained in:
Maikel Linke
2025-02-11 14:57:46 +11:00
parent cc6a3f4e5b
commit c90472ebf9
2 changed files with 3 additions and 3 deletions

View File

@@ -12,5 +12,5 @@ Bugsnag.configure do |config|
# If you want to notify Bugsnag in dev or test then set the env var:
# spring stop
# BUGSNAG=true ./bin/rails console
config.notify_release_stages = %w(production staging) unless ENV["BUGSNAG"]
config.enabled_release_stages = %w(production staging) unless ENV["BUGSNAG"]
end

View File

@@ -8,7 +8,7 @@ RSpec.describe Alert do
Bugsnag.configure do |config|
original_config = config.dup
config.api_key ||= "00000000000000000000000000000000"
config.notify_release_stages = ["test"]
config.enabled_release_stages = ["test"]
config.delivery_method = :synchronous
end
@@ -16,7 +16,7 @@ RSpec.describe Alert do
Bugsnag.configure do |config|
config.api_key = original_config.api_key
config.notify_release_stages = original_config.notify_release_stages
config.enabled_release_stages = original_config.notify_release_stages
config.delivery_method = original_config.delivery_method
end
end