Sha256: 721d09a7c433e6063bebcb0685a978082762cf1b08084bc8e2ca98bec6d432cc
Contents?: true
Size: 488 Bytes
Versions: 6
Compression:
Stored size: 488 Bytes
Contents
require_relative "test_helper" class TestMachine < Minitest::Unit::TestCase include Clusterfuck def setup @machine = Machine.new(:test) @cluster = Cluster.new(:test) end def test_get_name assert_equal :test, @machine.name end def test_assign_ssh_port assert_kind_of Fixnum, @machine.ssh_port end def test_assign_successive_ssh_ports first = @machine.ssh_port second = Machine.new(:test2) assert_equal first + 1, second.ssh_port end end
Version data entries
6 entries across 6 versions & 1 rubygems