test/eroi/client_test.rb in eroi-0.2.0 vs test/eroi/client_test.rb in eroi-0.2.1
- old
+ new
@@ -106,9 +106,18 @@
assert_equal true, response.success?
assert_equal 1, response.number_of_records
end
end
+ context "when defining a list" do
+ should "respond with a success" do
+ response = @client.define_list('TestList', [ 'longbob@longbob.com' ])
+
+ assert_equal true, response.success?
+ assert_equal 1, response.number_of_records
+ end
+ end
+
context "when sending an edition" do
setup do
@xml = mock('Builder::XmlMarkup')
end