sbraford / rbet

Git fork of rbet - a Ruby wrapper for the Exact Target API

shanti (author)
Thu Feb 19 14:59:48 -0800 2009
commit  f21a195075db65eef43c1ee084439c82d8d5b8bc
tree    89f68232e8eb7c61606d25d09fb074e2f0109cac
parent  2ae84bc021e62ca56f56913a67108d47e04787bd
rbet / test / list_test.rb
100644 19 lines (14 sloc) 0.394 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require File.join(File.dirname(__FILE__),"help.rb")
 
class ListClient < Test::Unit::TestCase
  include ET::TestCase
  def setup
    super
    @client = ET::List.new('tester','tester11', :service_url => 'http://127.0.0.1:99999/test/', :use_ssl => false, :debug_output => $stderr)
  end
  
  def test_list_all
    @client.all
  end
 
  def test_list_add
    @client.add('sample list')
  end
 
end