Skip to content

Commit

Permalink
bump mocha dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm1 committed Dec 9, 2012
1 parent 18e9b2f commit b18f5c9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions actionpack/test/abstract_unit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
require 'stringio'
require 'test/unit'

gem 'mocha', '>= 0.9.7'
require 'mocha'
gem 'mocha', '>= 0.13.1'
require 'mocha/setup'

begin
require 'ruby-debug'
Expand Down
4 changes: 2 additions & 2 deletions activemodel/test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
require 'rubygems'
require 'test/unit'

gem 'mocha', '>= 0.9.3'
require 'mocha'
gem 'mocha', '>= 0.13.1'
require 'mocha/setup'

require 'active_model'
require 'active_model/state_machine'
Expand Down
4 changes: 2 additions & 2 deletions activesupport/lib/active_support/test_case.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
require 'active_support/testing/declarative'

begin
gem 'mocha', ">= 0.9.7"
require 'mocha'
gem 'mocha', ">= 0.13.1"
require 'mocha/setup'
rescue LoadError
# Fake Mocha::ExpectationError so we can rescue it in #run. Bleh.
Object.const_set :Mocha, Module.new
Expand Down

0 comments on commit b18f5c9

Please sign in to comment.