test/campaign_test.rb in createsend-5.1.1 vs test/campaign_test.rb in createsend-6.0.0
- old
+ new
@@ -135,9 +135,10 @@
end
should "get the summary for a campaign" do
stub_get(@auth, "campaigns/#{@campaign.campaign_id}/summary.json", "campaign_summary.json")
summary = @campaign.summary
+ summary.Name.should == "Campaign Name"
summary.Recipients.should == 5
summary.TotalOpened.should == 10
summary.Clicks.should == 0
summary.Unsubscribed.should == 0
summary.Bounced.should == 0
\ No newline at end of file