mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 09:41:40 -05:00
15 lines
341 B
Ruby
15 lines
341 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'rails_helper'
|
|
|
|
RSpec.describe Import::ImmichGeodataJob, type: :job do
|
|
describe '#perform' do
|
|
let(:user) { create(:user) }
|
|
|
|
it 'calls Immich::ImportGeodata' do
|
|
expect_any_instance_of(Immich::ImportGeodata).to receive(:call)
|
|
|
|
described_class.perform_now(user.id)
|
|
end
|
|
end
|
|
end
|