Sha256: 4b0df8bc2d8985052711a09e1a4509faca7e2cf83a7acfd2b8d7f99518108dad

Contents?: true

Size: 240 Bytes

Versions: 43

Compression:

Stored size: 240 Bytes

Contents

begin
  silence_warnings { require 'mocha/setup' }
rescue LoadError
  # Fake Mocha::ExpectationError so we can rescue it in #run. Bleh.
  Object.const_set :Mocha, Module.new
  Mocha.const_set :ExpectationError, Class.new(StandardError)
end

Version data entries

43 entries across 38 versions & 8 rubygems

Version Path
activesupport-3.2.15.rc3 lib/active_support/testing/mochaing.rb
activesupport-3.2.15.rc2 lib/active_support/testing/mochaing.rb
activesupport-3.2.15.rc1 lib/active_support/testing/mochaing.rb
activesupport-3.2.14 lib/active_support/testing/mochaing.rb
activesupport-3.2.14.rc2 lib/active_support/testing/mochaing.rb
activesupport-3.2.14.rc1 lib/active_support/testing/mochaing.rb
swipe-rails-0.0.5 vendor/bundle/gems/activesupport-3.2.13/lib/active_support/testing/mochaing.rb
font-awesome-rails-3.1.1.2 vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/testing/mochaing.rb
font-awesome-rails-3.1.1.1 vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/testing/mochaing.rb
challah-1.0.0.beta3 vendor/bundle/gems/activesupport-3.2.13/lib/active_support/testing/mochaing.rb
sidekiq-statsd-0.1.1 vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/testing/mochaing.rb
sidekiq-statsd-0.1.0 vendor/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/testing/mochaing.rb
fc-webicons-0.0.4 vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/testing/mochaing.rb
challah-1.0.0.beta2 vendor/bundle/gems/activesupport-3.2.13/lib/active_support/testing/mochaing.rb
challah-1.0.0.beta vendor/bundle/gems/activesupport-3.2.13/lib/active_support/testing/mochaing.rb
fc-webicons-0.0.3 vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/testing/mochaing.rb
fc-webicons-0.0.2 vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/testing/mochaing.rb
fc-webicons-0.0.1 vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/testing/mochaing.rb
activesupport-3.2.13 lib/active_support/testing/mochaing.rb
activesupport-3.1.12 lib/active_support/testing/mochaing.rb