test/subscriber_test.rb in createsend-5.1.1 vs test/subscriber_test.rb in createsend-6.0.0

- old
+ new

@@ -12,9 +12,10 @@ stub_get(@auth, "subscribers/#{@list_id}.json?email=#{ERB::Util.url_encode(email)}&includetrackingpreference=false", "subscriber_details.json") subscriber = CreateSend::Subscriber.get @auth, @list_id, email subscriber.EmailAddress.should == email subscriber.Name.should == "Subscriber One" subscriber.Date.should == "2010-10-25 10:28:00" + subscriber.ListJoinedDate.should == "2010-10-25 10:28:00" subscriber.State.should == "Active" subscriber.CustomFields.size.should == 3 subscriber.CustomFields.first.Key.should == 'website' subscriber.CustomFields.first.Value.should == 'http://example.com' subscriber.ReadsEmailWith.should == "Gmail" \ No newline at end of file