issue_2715_fix_broken_twitter_urls_spec.rb 351 B

123456789
  1. require 'rails_helper'
  2. require_dependency 'issue_2715_fix_broken_twitter_urls_job' # Rails autoloading expects `issue2715_fix...`
  3. RSpec.describe Issue2715FixBrokenTwitterUrls, type: :db_migration do
  4. it 'invokes the corresponding job', :performs_jobs do
  5. expect { migrate }
  6. .to have_enqueued_job(Issue2715FixBrokenTwitterUrlsJob)
  7. end
  8. end