@@ -378,13 +378,13 @@ RSpec.describe SystemNoteService do
noteable_types.eachdo|type|
context"when noteable is a #{type}"do
it"blocks cross reference when #{type.underscore}_events is false"do
jira_tracker.update("#{type}_events"=>false)
jira_tracker.update!("#{type}_events"=>false)
expect(cross_reference(type)).toeq(s_('JiraService|Events for %{noteable_model_name} are disabled.')%{noteable_model_name: type.pluralize.humanize.downcase})
end
it"creates cross reference when #{type.underscore}_events is true"do