sandthorn 0.10.0 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/sandthorn/aggregate_root_base.rb +1 -1
- data/lib/sandthorn/version.rb +1 -1
- data/spec/aggregate_events_spec.rb +4 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8da522171034d5b78f122a32eceb842c31d6560e
|
4
|
+
data.tar.gz: 542c3f4f16d3de3accd25a1e6622c13e1767e19c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6ee4bcbe5f627e546a4ca898b55dfa5850c5c57040ce19ac22f1cb170c5542f1eda0f0beb45fe57a7653411cea761ae54bc046574c5e550dbe246506933e7c9
|
7
|
+
data.tar.gz: b7b871ad5cd91da583939ad9d4ffbfc6475093d6ff5a48904c22c2abe1cdf21d81f7d42292dd78082cb524ef04cfae31d1c9d0014376ee7b045479f628002199
|
data/lib/sandthorn/version.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'spec_helper'
|
2
|
+
require 'sandthorn/event_inspector'
|
2
3
|
|
3
4
|
module Sandthorn
|
4
5
|
class EventsSpec
|
@@ -51,7 +52,7 @@ module Sandthorn
|
|
51
52
|
end
|
52
53
|
|
53
54
|
it "should store the args to the event" do
|
54
|
-
expect(subject.aggregate_events[1][:event_args][:method_args][0]
|
55
|
+
expect(subject.aggregate_events[1][:event_args][:method_args][0]).to eql("new name")
|
55
56
|
end
|
56
57
|
end
|
57
58
|
|
@@ -66,7 +67,7 @@ module Sandthorn
|
|
66
67
|
end
|
67
68
|
|
68
69
|
it "should store the args to the event" do
|
69
|
-
expect(subject.aggregate_events[1][:event_args][:method_args]
|
70
|
+
expect(subject.aggregate_events[1][:event_args][:method_args]).to eql([1,2])
|
70
71
|
end
|
71
72
|
end
|
72
73
|
|
@@ -81,7 +82,7 @@ module Sandthorn
|
|
81
82
|
end
|
82
83
|
|
83
84
|
it "should store the args to the event" do
|
84
|
-
expect(subject.aggregate_events[1][:event_args][:method_args][0]
|
85
|
+
expect(subject.aggregate_events[1][:event_args][:method_args][0]).to eql("hej")
|
85
86
|
end
|
86
87
|
end
|
87
88
|
end
|