Sha256: 6557231d8a3a474f6a3142d8dad2f0df94241817d4285f2004036392ff43b824

Contents?: true

Size: 233 Bytes

Versions: 227

Compression:

Stored size: 233 Bytes

Contents

begin
  silence_warnings { require 'mocha' }
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

227 entries across 191 versions & 20 rubygems

Version Path
activesupport-3.1.4 lib/active_support/testing/mochaing.rb
activesupport-3.2.2.rc1 lib/active_support/testing/mochaing.rb
activesupport-3.1.4.rc1 lib/active_support/testing/mochaing.rb
challah-0.5.0 vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/mochaing.rb
dirty_history-0.5.1 dirty_history/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/testing/mochaing.rb
dirty_history-0.5.0 dirty_history/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/testing/mochaing.rb
challah-0.4.1 vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/mochaing.rb
challah-0.4.0 vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/mochaing.rb
challah-0.3.5 vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/mochaing.rb
challah-0.3.4 vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/mochaing.rb
challah-0.3.3 vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/mochaing.rb
challah-0.3.2 vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/mochaing.rb
challah-0.3.1 vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/mochaing.rb
challah-0.3.0 vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/mochaing.rb
challah-0.2.1 vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/mochaing.rb
challah-0.2.0 vendor/bundle/gems/activesupport-3.2.1/lib/active_support/testing/mochaing.rb
activesupport-3.2.1 lib/active_support/testing/mochaing.rb
activesupport-3.2.0 lib/active_support/testing/mochaing.rb
activesupport-3.2.0.rc2 lib/active_support/testing/mochaing.rb
dirty_history-0.4.10 dirty_history/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/testing/mochaing.rb