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