reactor 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/reactor/testing/matchers.rb +2 -2
- data/lib/reactor/version.rb +1 -1
- 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: c5fcccec2113ad9d7b9fe13be638e9a90fd31136
|
4
|
+
data.tar.gz: 480fc1b84da2ff6d7f1b65f9f28b096569d7138f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1602e32fbb4b3cebe872ef93b5c524efc06f68e363ace1efe23dbfcf405bd53e258635b0656cf172e2a040b088d5d8e0e91d82a2ea0c992238f3e695d4d299b
|
7
|
+
data.tar.gz: 63c24a7678e21c7a6cf0e62e5a79981c551c96bd3ee978cc3b021bfccc857048bdedfe352e5d845125673a9da3ed6305da839f1e79eb665c9b182762fadc8d17
|
@@ -1,7 +1,7 @@
|
|
1
1
|
RSpec::Matchers.define :publish_event do |name, data = {}|
|
2
2
|
|
3
3
|
match do |block|
|
4
|
-
defaults = {:actor => anything, :target => anything}
|
4
|
+
defaults = {:actor => anything, :target => anything, at: nil}
|
5
5
|
Reactor::Event.should_receive(:publish).with(name, defaults.merge(data))
|
6
6
|
block.call
|
7
7
|
end
|
@@ -10,7 +10,7 @@ end
|
|
10
10
|
RSpec::Matchers.define :publish_events do |*args|
|
11
11
|
|
12
12
|
match do |block|
|
13
|
-
defaults = {:actor => anything, :target => anything}
|
13
|
+
defaults = {:actor => anything, :target => anything, at: nil}
|
14
14
|
|
15
15
|
args.each do |event|
|
16
16
|
case event
|
data/lib/reactor/version.rb
CHANGED