mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
migrate spec to RSpec2
This commit is contained in:
parent
f9cfc4a2b9
commit
0d8b9ab108
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ begin
|
||||||
attr_accessor :skilled, :aasm_state
|
attr_accessor :skilled, :aasm_state
|
||||||
end
|
end
|
||||||
|
|
||||||
describe "aasm model", :shared => true do
|
shared_examples_for "aasm model" do
|
||||||
it "should include AASM::Persistence::ActiveRecordPersistence" do
|
it "should include AASM::Persistence::ActiveRecordPersistence" do
|
||||||
@klass.included_modules.should be_include(AASM::Persistence::ActiveRecordPersistence)
|
@klass.included_modules.should be_include(AASM::Persistence::ActiveRecordPersistence)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue