Sha256: 0ac15d5b1eafd6c188c75c462a4f6f26f98603a6cd509ebdf86d6b1f224fe2a5
Contents?: true
Size: 391 Bytes
Versions: 16
Compression:
Stored size: 391 Bytes
Contents
require_relative 'test_helper' class MachineWithComplexPluralizationScopesTest < BaseTestCase def setup @model = new_model @machine = StateMachines::Machine.new(@model, :status) end def test_should_create_singular_with_scope assert @model.respond_to?(:with_status) end def test_should_create_plural_with_scope assert @model.respond_to?(:with_statuses) end end
Version data entries
16 entries across 16 versions & 2 rubygems