Skip to content

Commit

Permalink
SyncProjectEventsJobSpec further changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasdrga committed Sep 30, 2024
1 parent 45de608 commit ee63679
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/jobs/metais/sync_project_events_job_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
let(:status_change) { double(Datahub::Metais::ProjectChange, field: 'status', created_at: Time.now, new_value: 'new_status', old_value: 'old_status') }
let(:phase_change) { double(Datahub::Metais::ProjectChange, field: 'faza_projektu', created_at: Time.now, new_value: 'new_phase', old_value: 'old_phase') }

let(:codelist_project_state_old) { instance_double(Datahub::Metais::CodelistProjectState, nazov: 'Old Status') }
let(:codelist_project_state_new) { instance_double(Datahub::Metais::CodelistProjectState, nazov: 'New Status') }
let(:codelist_project_phase_old) { instance_double(Datahub::Metais::CodelistProjectPhase, nazov: 'Old Phase') }
let(:codelist_project_phase_new) { instance_double(Datahub::Metais::CodelistProjectPhase, nazov: 'New Phase') }
let(:codelist_project_state_old) { double(Datahub::Metais::CodelistProjectState, nazov: 'Old Status') }
let(:codelist_project_state_new) { double(Datahub::Metais::CodelistProjectState, nazov: 'New Status') }
let(:codelist_project_phase_old) { double(Datahub::Metais::CodelistProjectPhase, nazov: 'Old Phase') }
let(:codelist_project_phase_new) { double(Datahub::Metais::CodelistProjectPhase, nazov: 'New Phase') }

before do
allow(Metais::OriginType).to receive(:find_by).with(name: 'MetaIS').and_return(origin_type)
Expand Down

0 comments on commit ee63679

Please sign in to comment.