mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
15 lines
346 B
Ruby
15 lines
346 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'rails_helper'
|
|
|
|
RSpec.describe ImportImmichGeodataJob, type: :job do
|
|
describe '#perform' do
|
|
let(:user) { create(:user) }
|
|
|
|
it 'calls Immich::ImportGeodata' do
|
|
expect_any_instance_of(Immich::ImportGeodata).to receive(:call)
|
|
|
|
ImportImmichGeodataJob.perform_now(user.id)
|
|
end
|
|
end
|
|
end
|