Sha256: a574005737045c1b205c294875b7a1d1df638b877109533f7192bb4198672033

Contents?: true

Size: 716 Bytes

Versions: 17

Compression:

Stored size: 716 Bytes

Contents

require 'test/unit'
require 'forkcms_deploy/forkcms.rb'

class TestForkCMS < Test::Unit::TestCase
	def	test_versions
		assert_equal "3.5", ForkCMSDeploy::ForkCMS.determine_version_to_use("3.6")			# 3
		assert_equal "3.5", ForkCMSDeploy::ForkCMS.determine_version_to_use("3.5")			# 3
		assert_equal "3", ForkCMSDeploy::ForkCMS.determine_version_to_use("3.3")			# 3
		assert_equal "3", ForkCMSDeploy::ForkCMS.determine_version_to_use("3")				# 3
		assert_equal "2", ForkCMSDeploy::ForkCMS.determine_version_to_use("2")				# 2
		assert_equal "default", ForkCMSDeploy::ForkCMS.determine_version_to_use("1")		# default
		assert_equal "default", ForkCMSDeploy::ForkCMS.determine_version_to_use("1.2.3")	# default
	end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
forkcms_deploy-4.5.0 test/test_forkcms_deploy.rb
forkcms_deploy-4.4.6 test/test_forkcms_deploy.rb
forkcms_deploy-4.4.5 test/test_forkcms_deploy.rb
forkcms_deploy-4.4.4 test/test_forkcms_deploy.rb
forkcms_deploy-4.4.3 test/test_forkcms_deploy.rb
forkcms_deploy-4.4.2 test/test_forkcms_deploy.rb
forkcms_deploy-4.4.1 test/test_forkcms_deploy.rb
forkcms_deploy-4.2.0 test/test_forkcms_deploy.rb
forkcms_deploy-4.1.0 test/test_forkcms_deploy.rb
forkcms_deploy-4.0.1 test/test_forkcms_deploy.rb
forkcms_deploy-4.0.0 test/test_forkcms_deploy.rb
forkcms_deploy-2.7.1 test/test_forkcms_deploy.rb
forkcms_deploy-2.7.0 test/test_forkcms_deploy.rb
forkcms_deploy-2.6.1 test/test_forkcms_deploy.rb
forkcms_deploy-2.6.0 test/test_forkcms_deploy.rb
forkcms_deploy-2.5.0 test/test_forkcms_deploy.rb
forkcms_deploy-2.4.2 test/test_forkcms_deploy.rb