10 lines
351 B
Ruby
10 lines
351 B
Ruby
|
require 'rails_helper'
|
||
|
require_dependency 'issue_2715_fix_broken_twitter_urls_job' # Rails autoloading expects `issue2715_fix...`
|
||
|
|
||
|
RSpec.describe Issue2715FixBrokenTwitterUrls, type: :db_migration do
|
||
|
it 'invokes the corresponding job', :performs_jobs do
|
||
|
expect { migrate }
|
||
|
.to have_enqueued_job(Issue2715FixBrokenTwitterUrlsJob)
|
||
|
end
|
||
|
end
|