test/client_test.rb in createsend-0.2.1 vs test/client_test.rb in createsend-0.3.0
- old
+ new
@@ -74,9 +74,10 @@
res.PageSize.should == 1000
res.RecordsOnThisPage.should == 5
res.TotalNumberOfRecords.should == 5
res.NumberOfPages.should == 1
res.Results.size.should == 5
+ res.Results.first.SuppressionReason.should == "Unsubscribed"
res.Results.first.EmailAddress.should == "example+1@example.com"
res.Results.first.Date.should == "2010-10-26 10:55:31"
res.Results.first.State.should == "Suppressed"
end