evt-messaging-fixtures 1.1.7.0 → 1.1.8.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37dc92a25ed5038902883ede2d9d4253f5f5661746c5c151ddb8d3d5fb886d9e
|
4
|
+
data.tar.gz: 2dc836de151e3af0323e2817902e468a274fc82954440236bf14dd2c81f352c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 350471d809af29bd96417514e5b3ba5113ad96d8ee3886523ee667caa4741370ad8f13d5e5edcd50cc4fce88fa6864b9ddac9ba68a09b3f85cded20f3d35f3e0
|
7
|
+
data.tar.gz: a6f53264101bdeedd6628e8f9043dde035dda97b1df4307324d8b427e07d3897c1ff06c627f0fa5450cc5bf9d43a73627760c3c1bf203ed4ad7442eb2cbf55fa
|
@@ -40,15 +40,15 @@ module Messaging
|
|
40
40
|
end
|
41
41
|
|
42
42
|
def self.causation_message_stream_name
|
43
|
-
|
43
|
+
stream_name
|
44
44
|
end
|
45
45
|
|
46
46
|
def self.causation_message_position
|
47
|
-
|
47
|
+
position
|
48
48
|
end
|
49
49
|
|
50
50
|
def self.causation_message_global_position
|
51
|
-
|
51
|
+
global_position
|
52
52
|
end
|
53
53
|
|
54
54
|
def self.correlation_stream_name
|
@@ -61,7 +61,13 @@ module Messaging
|
|
61
61
|
|
62
62
|
def self.properties
|
63
63
|
{
|
64
|
-
some_property
|
64
|
+
:some_property => 'some property value'
|
65
|
+
}
|
66
|
+
end
|
67
|
+
|
68
|
+
def self.local_properties
|
69
|
+
{
|
70
|
+
:some_local_property => 'some local property value'
|
65
71
|
}
|
66
72
|
end
|
67
73
|
|
@@ -138,13 +138,25 @@ module Messaging
|
|
138
138
|
|
139
139
|
def assert_attribute_value(name, value)
|
140
140
|
context "Attribute Value" do
|
141
|
-
|
141
|
+
assert_attribute_value!(name, value)
|
142
|
+
end
|
143
|
+
end
|
144
|
+
|
145
|
+
def assert_attribute_value!(name, value)
|
146
|
+
attribute_value = message.public_send(name)
|
142
147
|
|
143
|
-
|
144
|
-
|
145
|
-
|
148
|
+
test "#{name}" do
|
149
|
+
detail "Attribute Value: #{attribute_value.inspect}"
|
150
|
+
detail "Compare Value: #{value.inspect}"
|
151
|
+
|
152
|
+
assert(attribute_value == value)
|
153
|
+
end
|
154
|
+
end
|
146
155
|
|
147
|
-
|
156
|
+
def assert_attribute_values(attributes)
|
157
|
+
context "Attribute Values" do
|
158
|
+
attributes.each do |name, value|
|
159
|
+
assert_attribute_value!(name, value)
|
148
160
|
end
|
149
161
|
end
|
150
162
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: evt-messaging-fixtures
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Eventide Project
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: evt-entity_store
|
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
94
94
|
- !ruby/object:Gem::Version
|
95
95
|
version: '0'
|
96
96
|
requirements: []
|
97
|
-
rubygems_version: 3.
|
97
|
+
rubygems_version: 3.5.6
|
98
98
|
signing_key:
|
99
99
|
specification_version: 4
|
100
100
|
summary: TestBench fixtures for the Messaging library
|