Permalink
Browse files

rspec configuration

  • Loading branch information...
1 parent 4fafbc3 commit 85ff4e46d83588606565e893cd6066e23a9abab9 @rafaelss committed May 27, 2011
Showing with 6 additions and 1 deletion.
  1. +6 −1 spec/mocha_spec.rb
View
@@ -1,5 +1,10 @@
require 'rspec'
-require 'rspec-rails-mocha'
+require 'mocha_model'
+
+RSpec.configure do |config|
+ config.mock_with :mocha
+ config.include MochaModel
+end
# Simple stub for ActiveRecord::Base
module ActiveRecord

0 comments on commit 85ff4e4

Please sign in to comment.