global-registry-bindings 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -35,7 +35,7 @@ RSpec.describe 'GlobalRegistry::Bindings::Workers' do
35
35
 
36
36
  worker_name = "GlobalRegistry::Bindings::Workers::#{Namespaced::Person.global_registry.mdm_worker_class_name}"
37
37
  worker = worker_name.constantize.new
38
- worker.perform(Namespaced::Person, user.id)
38
+ worker.perform('Namespaced::Person', user.id)
39
39
  end
40
40
  end
41
41
 
@@ -12,7 +12,7 @@ RSpec.describe 'GlobalRegistry::Bindings::Workers' do
12
12
  expect(user).to receive(:push_entity_to_global_registry)
13
13
 
14
14
  worker = GlobalRegistry::Bindings::Workers::PushGrEntityWorker.new
15
- worker.perform(Namespaced::Person, user.id)
15
+ worker.perform('Namespaced::Person', user.id)
16
16
  end
17
17
 
18
18
  it 'fails silently on ActiveRecord::RecordNotFound' do
@@ -21,7 +21,7 @@ RSpec.describe 'GlobalRegistry::Bindings::Workers' do
21
21
  expect(user).not_to receive(:push_relationship_to_global_registry)
22
22
 
23
23
  worker = GlobalRegistry::Bindings::Workers::PushRelationshipWorker.new
24
- worker.perform(Namespaced::Person, user.id)
24
+ worker.perform('Namespaced::Person', user.id)
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: global-registry-bindings
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Zoetewey
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-14 00:00:00.000000000 Z
11
+ date: 2017-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord