From 0d8b9ab108ed23725a1a92c79685594110f918f0 Mon Sep 17 00:00:00 2001 From: Konstantin Shabanov Date: Thu, 13 Jan 2011 13:58:59 +0600 Subject: [PATCH] migrate spec to RSpec2 --- spec/unit/active_record_persistence_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/unit/active_record_persistence_spec.rb b/spec/unit/active_record_persistence_spec.rb index 75b87c7..64afa9a 100644 --- a/spec/unit/active_record_persistence_spec.rb +++ b/spec/unit/active_record_persistence_spec.rb @@ -60,7 +60,7 @@ begin attr_accessor :skilled, :aasm_state end - describe "aasm model", :shared => true do + shared_examples_for "aasm model" do it "should include AASM::Persistence::ActiveRecordPersistence" do @klass.included_modules.should be_include(AASM::Persistence::ActiveRecordPersistence) end