mailchimp_api_v3 0.1.3 → 0.1.4
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a963fa8831493889c9a3d92111fdc54d6759d3a
|
4
|
+
data.tar.gz: b5b5a9afd8aacefb19622fd5990d9d6aa4511faa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 601e253eb1fe994184309431f77ce4bf293443608794297323ffc813691ec646a85ba8f077c1a0480524bc7c41f66b26336b87b94b03cc8ddf07541602b223f9
|
7
|
+
data.tar.gz: a4d130648bede5dc7c06672f9f75b6240fef9b9af5bb336e0973487b7f2395f84b4873297e36646ba0359a6fa8c12b5cd04524df0b7fb10ed47cfeb942e7832b
|
@@ -39,6 +39,10 @@ describe Mailchimp::Client, vcr: { cassette_name: 'client' } do
|
|
39
39
|
expect(list).to be_a Mailchimp::List
|
40
40
|
expect(list.name).to eq 'My first list'
|
41
41
|
end
|
42
|
+
|
43
|
+
it "doesn't respond to everything" do
|
44
|
+
expect(Mailchimp::Client.new.respond_to?(:zzz)).to be_falsey
|
45
|
+
end
|
42
46
|
end
|
43
47
|
|
44
48
|
context 'exceptions' do
|
@@ -50,4 +50,8 @@ describe Mailchimp::Exception::BadRequest do
|
|
50
50
|
expect { Mailchimp::Exception.parse_invalid_resource_exception data }
|
51
51
|
.to raise_error Mailchimp::Exception::BadRequest
|
52
52
|
end
|
53
|
+
|
54
|
+
it 'responds to everything' do
|
55
|
+
expect(Mailchimp::Exception::BadRequest.new('xxx').respond_to?(:zzz)).to be_truthy
|
56
|
+
end
|
53
57
|
end
|