1
0
Fork 0
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:
Konstantin Shabanov 2011-01-13 13:58:59 +06:00
parent f9cfc4a2b9
commit 0d8b9ab108

View file

@ -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