issue_2715_fix_broken_twitter_urls_spec.rb 428 B

1234567891011
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. require 'rails_helper'
  3. require_dependency 'issue_2715_fix_broken_twitter_urls_job' # Rails autoloading expects `issue2715_fix...`
  4. RSpec.describe Issue2715FixBrokenTwitterUrls, type: :db_migration do
  5. it 'invokes the corresponding job', :performs_jobs do
  6. expect { migrate }
  7. .to have_enqueued_job(Issue2715FixBrokenTwitterUrlsJob)
  8. end
  9. end