mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
56af04d5f0
Conflicts: spec/functional/conversation_spec.rb
8 lines
329 B
Ruby
8 lines
329 B
Ruby
require File.join(File.dirname(__FILE__), "..", "spec_helper")
|
|
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
|