test/template_test.rb in createsend-0.3.1 vs test/template_test.rb in createsend-0.3.2

- old
+ new

@@ -10,11 +10,11 @@ should "create a template" do client_id = '87y8d7qyw8d7yq8w7ydwqwd' stub_post(@api_key, "templates/#{client_id}.json", "create_template.json") template_id = CreateSend::Template.create client_id, "Template One", "http://templates.org/index.html", - "http://templates.org/files.zip", "http://templates.org/screenshot.jpg" + "http://templates.org/files.zip" template_id.should == "98y2e98y289dh89h938389" end should "get details of a template" do stub_get(@api_key, "templates/#{@template.template_id}.json", "template_details.json") @@ -25,10 +25,10 @@ t.ScreenshotURL.should == "http://preview.createsend.com/ts/r/14/833/263/14833263.jpg?0318092600" end should "update a template" do stub_put(@api_key, "templates/#{@template.template_id}.json", nil) - @template.update "Template One Updated", "http://templates.org/index.html", "http://templates.org/files.zip", "http://templates.org/screenshot.jpg" + @template.update "Template One Updated", "http://templates.org/index.html", "http://templates.org/files.zip" end should "delete a template" do stub_delete(@api_key, "templates/#{@template.template_id}.json", nil) @template.delete