spec/spec_helper.rb in bugsnag-api-2.0.3 vs spec/spec_helper.rb in bugsnag-api-2.1.0
- old
+ new
@@ -37,11 +37,12 @@
c.filter_sensitive_data("BUGSNAG_ORG_ID") { test_bugsnag_org_id }
c.filter_sensitive_data("BUGSNAG_PROJECT_ID") { test_bugsnag_project_id }
c.filter_sensitive_data("BUGSNAG_COLLABORATOR_EMAIL") { test_bugsnag_collaborator }
c.filter_sensitive_data("BUGSNAG_ERROR_ID") { test_bugsnag_error_id }
c.filter_sensitive_data("BUGSNAG_EVENT_ID") { test_bugsnag_event_id }
-
+ c.filter_sensitive_data("BUGSNAG_RELEASE_ID") { test_bugsnag_release_id }
+ c.filter_sensitive_data("BUGSNAG_RELEASE_GROUP_ID") { test_bugsnag_release_group_id }
end
def auth_token_client
Bugsnag::Api.configure do |config|
config.endpoint = test_bugsnag_endpoint
@@ -119,6 +120,14 @@
ENV["BUGSNAG_TEST_EVENT"] || "BUGSNAG_EVENT_ID"
end
def test_bugsnag_collaborator
ENV["BUGSNAG_TEST_COLLABORATOR_EMAIL"] || "BUGSNAG_COLLABORATOR_EMAIL"
-end
\ No newline at end of file
+end
+
+def test_bugsnag_release_id
+ ENV["BUGSNAG_TEST_RELEASE_ID"] || "BUGSNAG_RELEASE_ID"
+end
+
+def test_bugsnag_release_group_id
+ ENV["BUGSNAG_TEST_RELEASE_GROUP_ID"] || "BUGSNAG_RELEASE_GROUP_ID"
+end