Sha256: a8e183e0d38427a86ba9b0ff0b7ce566b79bf1138a6e9e996fbfef569fdaebc4
Contents?: true
Size: 984 Bytes
Versions: 1
Compression:
Stored size: 984 Bytes
Contents
require 'test_helper' class WsAccountNoteSearchTest < Test::Unit::TestCase def setup $sid3 ||= Landslider.login('LOGINTOKEN=' + LS_INSTANCE_NAME)[:session_id] end def test_account_note_search search = Landslider::WsAccountNoteSearch.new(55647822) result = Landslider.get_account_notes($sid3, search) assert_equal false, result[:error] assert_equal 8, result[:results_returned] end def test_account_note_search_limit_by_updated_on search = Landslider::WsAccountNoteSearch.new(55647822) search.updated_on = '2011-04-21' result = Landslider.get_account_notes($sid3, search) assert_equal false, result[:error] assert_equal 2, result[:results_returned] end def test_account_note_search_limit_by_results_requested search = Landslider::WsAccountNoteSearch.new(55647822) search.total_results_requested = 4 result = Landslider.get_account_notes($sid3, search) assert_equal false, result[:error] assert_equal 4, result[:results_returned] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
landslider-0.5.6 | test/ws_account_note_search_test.rb |