mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 01:31:39 -05:00
13 lines
282 B
Ruby
13 lines
282 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'rails_helper'
|
|
|
|
RSpec.describe Import::WatcherJob, type: :job do
|
|
describe '#perform' do
|
|
it 'calls Imports::Watcher' do
|
|
expect_any_instance_of(Imports::Watcher).to receive(:call)
|
|
|
|
described_class.perform_now
|
|
end
|
|
end
|
|
end
|