Browse files

Changed shoulda/rspec to include matchers directly to resolve a load …

…order issue
  • Loading branch information...
1 parent 3e70e89 commit e97293294ca3caa8884710936e53d1b18e1416a7 @jferris jferris committed Feb 5, 2009
Showing with 6 additions and 2 deletions.
  1. +6 −2 lib/shoulda/rspec.rb
View
8 lib/shoulda/rspec.rb
@@ -1,5 +1,9 @@
require 'shoulda/active_record/matchers'
-Spec::Runner.configure do |config|
- config.include Shoulda::ActiveRecord::Matchers, :type => :model
+module Spec
+ module Rails
+ module Matchers
+ include Shoulda::ActiveRecord::Matchers
+ end
+ end
end

0 comments on commit e972932

Please sign in to comment.