xednese 0.0.0 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/xednese/messages.rb +1 -1
- data/lib/xednese/version.rb +1 -1
- data/spec/xednese/messages_spec.rb +2 -2
- 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: 381d98d8d9e52c8f4ad3136d50780e79eca43d75
|
4
|
+
data.tar.gz: a3e8b964f56061bafe0ce6bc8401f92d3f557f58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efb4d2396b366aa322791529f947d6b2409ea1c98323b8cbdb138dadc368f962c0b029a871e572ef6540d387a245891c771ddc833c842887f69c6876be73650f
|
7
|
+
data.tar.gz: 87d1652e6ed3033da2e2ba1df223d3e82ed52b7259d3fefa73a97b98ca4bf0625ffa03e7a18eef58174452df8e989f5f7138be7caa24adc158bea47d4866d1df
|
data/lib/xednese/messages.rb
CHANGED
data/lib/xednese/version.rb
CHANGED
@@ -7,14 +7,14 @@ describe Esendex::Messages do
|
|
7
7
|
describe '#sent' do
|
8
8
|
let(:xml) { "Hey I'm xml" }
|
9
9
|
let(:first_message) { Object.new }
|
10
|
-
let(:parsed_messages) { stub(
|
10
|
+
let(:parsed_messages) { stub(message_headers: [first_message]) }
|
11
11
|
|
12
12
|
before {
|
13
13
|
Esendex::Client
|
14
14
|
.expects(:get)
|
15
15
|
.with(credentials, 'v1.0/messageheaders', startIndex: 0, count: 25)
|
16
16
|
.yields(200, xml)
|
17
|
-
.returns(parsed_messages.
|
17
|
+
.returns(parsed_messages.message_headers)
|
18
18
|
|
19
19
|
Esendex::Responses::MessageHeaders
|
20
20
|
.expects(:deserialise)
|