Sha256: f17b011b0e073fc3eb2135d7461c4290d1a8f9c3a4eb4e4112fde5771918c2f8
Contents?: true
Size: 461 Bytes
Versions: 14
Compression:
Stored size: 461 Bytes
Contents
require_relative '../test_helper' class HelperModuleTest < StateMachinesTest def setup @klass = Class.new @machine = StateMachines::Machine.new(@klass) @helper_module = StateMachines::HelperModule.new(@machine, :instance) end def test_should_not_have_a_name assert_equal '', @helper_module.name.to_s end def test_should_provide_human_readable_to_s assert_equal "#{@klass} :state instance helpers", @helper_module.to_s end end
Version data entries
14 entries across 14 versions & 2 rubygems