mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
10 lines
291 B
Ruby
10 lines
291 B
Ruby
require 'spec_helper'
|
|
|
|
describe 'on initialization' do
|
|
let(:example) { BasicTwoStateMachinesExample.new }
|
|
|
|
it 'should be in the initial state' do
|
|
expect(example.aasm(:search).current_state).to eql :initialised
|
|
expect(example.aasm(:sync).current_state).to eql :unsynced
|
|
end
|
|
end
|