alephant-broker 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/alephant/broker/version.rb +1 -1
- data/spec/rack_spec.rb +5 -10
- 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: 05e727c81504161478d91abebc8e415bc1435894
|
4
|
+
data.tar.gz: 82c5a0bbaf31728ebd2de89d1deed4638613020f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83a79c1625e37169a333af0d64a8924abadf5a447ed582320965ca2d22a746334e987416af8826fb1d6c4d02a024d3470d328726e790bc50befbcd36f0b71530
|
7
|
+
data.tar.gz: 80580f0f138590006d4605c310a88fa5d5d59436fe8559f2fde77f8a5097fd93b7ec566107d561da53cbebd987bdcdced8f0b857cfd2f81cf222e90616a25cd7
|
data/spec/rack_spec.rb
CHANGED
@@ -20,16 +20,11 @@ describe 'Broker Rack Application' do
|
|
20
20
|
.and_return(cache_hash)
|
21
21
|
|
22
22
|
allow_any_instance_of(Alephant::Broker::Component)
|
23
|
-
.to
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
.and_return('foo/bar')
|
29
|
-
|
30
|
-
allow_any_instance_of(Alephant::Broker::Component)
|
31
|
-
.to receive(:version)
|
32
|
-
.and_return(1)
|
23
|
+
.to receive_messages(
|
24
|
+
:content => cache_hash[:content],
|
25
|
+
:content_type => 'foo/bar',
|
26
|
+
:version => 1
|
27
|
+
)
|
33
28
|
|
34
29
|
allow_any_instance_of(Alephant::Broker::Response::Asset)
|
35
30
|
.to receive(:status)
|