Skip to content

Commit

Permalink
migrate spec to RSpec2
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantin Shabanov committed Jan 13, 2011
1 parent f9cfc4a commit 0d8b9ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/unit/active_record_persistence_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class Thief < ActiveRecord::Base
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
Expand Down

0 comments on commit 0d8b9ab

Please sign in to comment.