Sha256: c7fc6d4d3df70e6aaee7aaaba73137e217838c7fe3a34a0a56433105fcf4bd40
Contents?: true
Size: 549 Bytes
Versions: 5
Compression:
Stored size: 549 Bytes
Contents
require 'test/unit' require 'forkcms_deploy/forkcms.rb' class TestForkCMS < Test::Unit::TestCase def test_versions assert_equal "3", ForkCMSDeploy::ForkCMS.determine_version_to_use("3.4") # 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
5 entries across 5 versions & 1 rubygems