Skip to content

Commit

Permalink
fix Travis build
Browse files Browse the repository at this point in the history
alto committed Nov 28, 2012
1 parent 475985f commit 9fbbd41
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/unit/aasm_spec.rb
Original file line number Diff line number Diff line change
@@ -136,7 +136,8 @@ def foo.aasm_write_state; end
let(:foo) {Foo.new}

it 'work' do
foo.aasm_events_for_current_state.should == [:close, :null]
foo.aasm_events_for_current_state.should include(:close)
foo.aasm_events_for_current_state.should include(:null)
foo.close
foo.aasm_events_for_current_state.should be_empty
end

0 comments on commit 9fbbd41

Please sign in to comment.