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

Conversation is required to make spec pass

This commit is contained in:
Joao Vitor 2009-04-09 01:20:53 -03:00
parent baceb4b53e
commit 27fc466e4f

View file

@ -1,3 +1,5 @@
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]