test/helper.rb in createsend-1.0.0 vs test/helper.rb in createsend-1.0.1

- old
+ new

@@ -17,10 +17,10 @@ file_path = File.expand_path(File.dirname(__FILE__) + '/fixtures/' + filename) File.read(file_path) end def createsend_url(api_key, url) - api_key.nil? ? url : url =~ /^http/ ? url : "http://#{api_key}:x@api.createsend.com/api/v3/#{url}" + api_key.nil? ? url : url =~ /^http/ ? url : "https://#{api_key}:x@api.createsend.com/api/v3/#{url}" end def stub_request(method, api_key, url, filename, status=nil) options = {:body => ""} options.merge!({:body => fixture_file(filename)}) if filename