add the mocha stubbing and mocking library

This commit is contained in:
Matt Rogers 2013-03-02 22:26:31 -06:00
parent 0f7ed245c6
commit 7c5028f227
3 changed files with 6 additions and 0 deletions

View file

@ -49,6 +49,7 @@ group :test do
gem "cucumber-rails", :require => false
gem "rspec-expectations"
gem "database_cleaner"
gem "mocha", :require => false
gem "aruba", :require => false
gem "simplecov"

View file

@ -99,7 +99,10 @@ GEM
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
metaclass (0.0.1)
mime-types (1.21)
mocha (0.13.2)
metaclass (~> 0.0.1)
multi_json (1.6.1)
mysql2 (0.3.11)
nokogiri (1.5.6)
@ -205,6 +208,7 @@ DEPENDENCIES
formatize
htmlentities
jquery-rails
mocha
mysql2
rack-mini-profiler
rails (~> 3.2)

View file

@ -3,5 +3,6 @@ SimpleCov.start 'rails'
ENV["RAILS_ENV"] = "test"
require 'test/unit'
require 'mocha/setup'
$:.unshift File.dirname(File.dirname(__FILE__))