Sha256: c658a9adfbeacd8ab7a8048523c6566bdcf09e0375530e89e6e63db3074f688d
Contents?: true
Size: 727 Bytes
Versions: 16
Compression:
Stored size: 727 Bytes
Contents
require 'test_helper' class WsOpportunityNoteSearchTest < Test::Unit::TestCase def setup $sid0 ||= Landslider.login('LOGINTOKEN=' + LS_INSTANCE_NAME)[:session_id] end def test_opportunity_note_search search = Landslider::WsOpportunityNoteSearch.new(55952453) result = Landslider.get_opportunity_notes($sid0, search) assert_equal false, result[:error] assert_equal 2, result[:results_returned] end def test_opportunity_note_search_limit_by_results_requested search = Landslider::WsOpportunityNoteSearch.new(55952453) search.total_results_requested = 1 result = Landslider.get_opportunity_notes($sid0, search) assert_equal false, result[:error] assert_equal 1, result[:results_returned] end end
Version data entries
16 entries across 16 versions & 1 rubygems