1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00
aasm/spec/models/sub_class_with_more_states.rb

18 lines
284 B
Ruby

require_relative 'super_class'
class SubClassWithMoreStates < SuperClass
include AASM
aasm do
state :foo
end
end
class SubClassWithMoreStatesMultiple < SuperClassMultiple
include AASM
aasm(:left) do
state :foo
end
aasm(:right) do
state :archived
end
end