Sha256: 1d9e4f556daf96f6c83553c21a752d7a283c201b67398017abae6925d22d54bc

Contents?: true

Size: 266 Bytes

Versions: 38

Compression:

Stored size: 266 Bytes

Contents

require 'mocha/backtrace_filter'

module Mocha

  class ExpectationError < Exception
    
    def initialize(message = nil, backtrace = [])
      super(message)
      filter = BacktraceFilter.new
      set_backtrace(filter.filtered(backtrace))
    end

  end
  
end

Version data entries

38 entries across 33 versions & 4 rubygems

Version Path
challah-1.0.0.beta vendor/bundle/gems/mocha-0.10.5/lib/mocha/expectation_error.rb
challah-0.9.1.beta.3 vendor/bundle/gems/mocha-0.10.5/lib/mocha/expectation_error.rb
devise_sociable-0.1.0 vendor/bundle/gems/mocha-0.10.5/lib/mocha/expectation_error.rb
challah-0.9.1.beta vendor/bundle/gems/mocha-0.10.5/lib/mocha/expectation_error.rb
challah-0.9.0 vendor/bundle/gems/mocha-0.10.5/lib/mocha/expectation_error.rb
challah-0.6.2 vendor/bundle/gems/mocha-0.10.5/lib/mocha/expectation_error.rb
challah-0.6.1 vendor/bundle/gems/mocha-0.10.3/lib/mocha/expectation_error.rb
challah-0.6.1 vendor/bundle/gems/mocha-0.10.5/lib/mocha/expectation_error.rb
challah-0.6.0 vendor/bundle/gems/mocha-0.10.3/lib/mocha/expectation_error.rb
challah-0.6.0 vendor/bundle/gems/mocha-0.10.5/lib/mocha/expectation_error.rb
challah-0.5.4 vendor/bundle/gems/mocha-0.10.3/lib/mocha/expectation_error.rb
challah-0.5.4 vendor/bundle/gems/mocha-0.10.5/lib/mocha/expectation_error.rb
challah-0.5.3 vendor/bundle/gems/mocha-0.10.5/lib/mocha/expectation_error.rb
challah-0.5.3 vendor/bundle/gems/mocha-0.10.3/lib/mocha/expectation_error.rb
challah-0.5.2 vendor/bundle/gems/mocha-0.10.3/lib/mocha/expectation_error.rb
challah-0.5.2 vendor/bundle/gems/mocha-0.10.5/lib/mocha/expectation_error.rb
challah-0.5.1 vendor/bundle/gems/mocha-0.10.5/lib/mocha/expectation_error.rb
mocha-0.10.5 lib/mocha/expectation_error.rb
challah-0.5.0 vendor/bundle/gems/mocha-0.10.3/lib/mocha/expectation_error.rb
mocha-0.10.4 lib/mocha/expectation_error.rb