Add support for FASP data sharing (#34415)
This commit is contained in:
parent
3ea1f074ab
commit
a5a2c6dc7e
38 changed files with 1140 additions and 1 deletions
11
spec/models/concerns/favourite/fasp_concern_spec.rb
Normal file
11
spec/models/concerns/favourite/fasp_concern_spec.rb
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
require 'rails_helper'
|
||||
|
||||
RSpec.describe Favourite::FaspConcern, feature: :fasp do
|
||||
describe '#create' do
|
||||
it 'queues a job to notify provider' do
|
||||
expect { Fabricate(:favourite) }.to enqueue_sidekiq_job(Fasp::AnnounceTrendWorker)
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue