mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-22 05:50:47 +02:00
add the mocha stubbing and mocking library
This commit is contained in:
parent
0f7ed245c6
commit
7c5028f227
3 changed files with 6 additions and 0 deletions
1
Gemfile
1
Gemfile
|
@ -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"
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -3,5 +3,6 @@ SimpleCov.start 'rails'
|
|||
|
||||
ENV["RAILS_ENV"] = "test"
|
||||
require 'test/unit'
|
||||
require 'mocha/setup'
|
||||
|
||||
$:.unshift File.dirname(File.dirname(__FILE__))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue