eroi 0.1.2 → 0.1.3
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.
- data/VERSION +1 -1
- data/eroi.gemspec +1 -1
- data/test/remote/client_test.rb +3 -3
- metadata +1 -1
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.3
|
data/eroi.gemspec
CHANGED
data/test/remote/client_test.rb
CHANGED
|
@@ -102,17 +102,17 @@ class TestClient < Test::Unit::TestCase
|
|
|
102
102
|
|
|
103
103
|
context "when sending an email to a contact" do
|
|
104
104
|
teardown do
|
|
105
|
-
|
|
105
|
+
@client.remove_contact('longbob@longbob.com')
|
|
106
106
|
end
|
|
107
107
|
|
|
108
108
|
should "respond with a success" do
|
|
109
109
|
@client.add_contact(
|
|
110
|
-
:email => '
|
|
110
|
+
:email => 'longbob@longbob.com'
|
|
111
111
|
:firstname => 'Longbob',
|
|
112
112
|
:lastname => 'Longson',
|
|
113
113
|
:mailing_lists => 'MainList')
|
|
114
114
|
|
|
115
|
-
response = @client.send_list_edition_to_contact('MainList', 'Testing', '
|
|
115
|
+
response = @client.send_list_edition_to_contact('MainList', 'Testing', 'longbob@longbob.com')
|
|
116
116
|
|
|
117
117
|
assert_equal true, response.success?
|
|
118
118
|
end
|