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.
- checksums.yaml +4 -4
- data/lib/global_registry_bindings/version.rb +1 -1
- data/lib/global_registry_bindings/workers/pull_mdm_id_worker.rb +2 -1
- data/lib/global_registry_bindings/workers/push_gr_entity_worker.rb +2 -1
- data/lib/global_registry_bindings/workers/push_relationship_worker.rb +2 -1
- data/spec/internal/log/test.log +1500 -0
- data/spec/workers/pull_mdm_id_worker_spec.rb +1 -1
- data/spec/workers/push_gr_entity_worker_spec.rb +1 -1
- data/spec/workers/push_relationship_worker_spec.rb +1 -1
- metadata +2 -2
@@ -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
|
+
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-
|
11
|
+
date: 2017-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|