Skip to content
Browse files

add mocha

  • Loading branch information...
1 parent fcaa546 commit 7cfcdfb3998c7a48ffc1a908520dabbc65f75e0e Dan Carper committed Aug 21, 2012
Showing with 5 additions and 0 deletions.
  1. +1 −0 rspec-xml.gemspec
  2. +4 −0 spec/spec_helper.rb
View
1 rspec-xml.gemspec
@@ -18,6 +18,7 @@ Gem::Specification.new do |s|
s.require_paths = ["lib"]
s.add_development_dependency 'turnip'
+ s.add_development_dependency 'mocha'
s.add_runtime_dependency 'rspec'
s.add_runtime_dependency 'nokogiri'
View
4 spec/spec_helper.rb
@@ -1 +1,5 @@
require File.expand_path('../../lib/rspec-xml', __FILE__)
+
+RSpec.configure do |config|
+ config.mock_with :mocha
+end

0 comments on commit 7cfcdfb

Please sign in to comment.
Something went wrong with that request. Please try again.