Sha256: d2355c10dedb7ec84f21013cb3a0758c55de9c037689372983ba2ca3f561bc2d

Contents?: true

Size: 437 Bytes

Versions: 20

Compression:

Stored size: 437 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

RSpec.describe Namespaced::Person::UserEdited do
  describe '#pull_mdm_id_from_global_registry_async' do
    it 'should enqueue sidekiq job' do
      user_edited = build(:user_edited)
      expect do
        user_edited.pull_mdm_id_from_global_registry_async
      end.to change(GlobalRegistry::Bindings::Workers::PullNamespacedPersonMdmIdWorker.jobs, :size).by(1)
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
global-registry-bindings-0.6.2 spec/models/user_edited_person_spec.rb
global-registry-bindings-0.6.1 spec/models/user_edited_person_spec.rb
global-registry-bindings-0.6.0 spec/models/user_edited_person_spec.rb
global-registry-bindings-0.5.0 spec/models/user_edited_person_spec.rb
global-registry-bindings-0.4.0 spec/models/user_edited_person_spec.rb
global-registry-bindings-0.3.3 spec/models/user_edited_person_spec.rb
global-registry-bindings-0.3.2 spec/models/user_edited_person_spec.rb
global-registry-bindings-0.3.1 spec/models/user_edited_person_spec.rb
global-registry-bindings-0.3.0 spec/models/user_edited_person_spec.rb
global-registry-bindings-0.2.0 spec/models/user_edited_person_spec.rb
global-registry-bindings-0.1.9 spec/models/user_edited_person_spec.rb
global-registry-bindings-0.1.8 spec/models/user_edited_person_spec.rb
global-registry-bindings-0.1.7 spec/models/user_edited_person_spec.rb
global-registry-bindings-0.1.6 spec/models/user_edited_person_spec.rb
global-registry-bindings-0.1.5 spec/models/user_edited_person_spec.rb
global-registry-bindings-0.1.4 spec/models/user_edited_person_spec.rb
global-registry-bindings-0.1.3 spec/models/user_edited_person_spec.rb
global-registry-bindings-0.1.2 spec/models/user_edited_person_spec.rb
global-registry-bindings-0.1.1 spec/models/user_edited_person_spec.rb
global-registry-bindings-0.1.0 spec/models/user_edited_person_spec.rb