Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…order issue
  • Loading branch information...
commit e97293294ca3caa8884710936e53d1b18e1416a7 1 parent 3e70e89
@jferris jferris authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.