mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
8 lines
266 B
Ruby
8 lines
266 B
Ruby
|
require File.join(File.dirname(__FILE__), 'conversation')
|
||
|
|
||
|
describe Conversation, 'description' do
|
||
|
it '.aasm_states should contain all of the states' do
|
||
|
Conversation.aasm_states.should == [:needs_attention, :read, :closed, :awaiting_response, :junk]
|
||
|
end
|
||
|
end
|