Sha256: cd686689fdde87ca0fac3bcd79ae8749350a5996ebaa6f6adf057e22463164f4

Contents?: true

Size: 499 Bytes

Versions: 10

Compression:

Stored size: 499 Bytes

Contents

require 'test_helper'

class RunMylistByIdTest < Test::Unit::TestCase

	# this test depends on data in the jaytest instance
	JAYTEST_MYLIST_ID = 10293817

	def setup
		$sid7 ||= Landslider.login('LOGINTOKEN=' + LS_INSTANCE_NAME)[:session_id]
	end
	
	def test_landslider_run_mylist_by_id
		
		result = Landslider.run_mylist_by_id($sid7, JAYTEST_MYLIST_ID)
		assert_equal false, result[:error]
		
		assert_operator result[:results_returned], :>=, 0
		assert_kind_of Array, result[:results]
	end
	
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
landslider-0.5.28 test/run_mylist_by_id_test.rb
landslider-0.5.26 test/run_mylist_by_id_test.rb
landslider-0.5.24 test/run_mylist_by_id_test.rb
landslider-0.5.22 test/run_mylist_by_id_test.rb
landslider-0.5.21 test/run_mylist_by_id_test.rb
landslider-0.5.20 test/run_mylist_by_id_test.rb
landslider-0.5.18 test/run_mylist_by_id_test.rb
landslider-0.5.17 test/run_mylist_by_id_test.rb
landslider-0.5.16 test/run_mylist_by_id_test.rb
landslider-0.5.15 test/run_mylist_by_id_test.rb