diff options
Diffstat (limited to 'spec/workers/propagate_integration_worker_spec.rb')
-rw-r--r-- | spec/workers/propagate_integration_worker_spec.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/spec/workers/propagate_integration_worker_spec.rb b/spec/workers/propagate_integration_worker_spec.rb index b8c7f2bebe7..2461b30a2ed 100644 --- a/spec/workers/propagate_integration_worker_spec.rb +++ b/spec/workers/propagate_integration_worker_spec.rb @@ -5,7 +5,7 @@ require 'spec_helper' RSpec.describe PropagateIntegrationWorker do describe '#perform' do let(:integration) do - PushoverService.create!( + Integrations::Pushover.create!( template: true, active: true, device: 'MyDevice', @@ -21,11 +21,5 @@ RSpec.describe PropagateIntegrationWorker do subject.perform(integration.id) end - - it 'ignores overwrite parameter from previous version' do - expect(Admin::PropagateIntegrationService).to receive(:propagate).with(integration) - - subject.perform(integration.id, true) - end end end |