Sha256: 9e394846a36a50d2ee73a40f59ddeb34a48a6277f64a6a1c0cea723ab8e512d4

Contents?: true

Size: 264 Bytes

Versions: 26

Compression:

Stored size: 264 Bytes

Contents

module Shoulda
  module Matchers
    if RUBY_VERSION > "1.9"
      require 'minitest/unit'
      AssertionError = MiniTest::Assertion
    else
      require 'test/unit/assertionfailederror'
      AssertionError = Test::Unit::AssertionFailedError
    end
  end
end

Version data entries

26 entries across 21 versions & 5 rubygems

Version Path
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/shoulda-matchers-1.0.0/lib/shoulda/matchers/assertion_error.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/2.1.0/gems/shoulda-matchers-1.0.0/lib/shoulda/matchers/assertion_error.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/1.9.1/gems/shoulda-matchers-1.0.0/lib/shoulda/matchers/assertion_error.rb
apl-library-0.0.90 vendor/bundle/ruby/1.9.1/gems/shoulda-matchers-1.0.0/lib/shoulda/matchers/assertion_error.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.0.pre/vendor/bundle/gems/shoulda-matchers-1.2.0/lib/shoulda/matchers/assertion_error.rb
challah-rolls-0.2.0 vendor/bundle/gems/shoulda-matchers-1.2.0/lib/shoulda/matchers/assertion_error.rb
challah-rolls-0.1.0 vendor/bundle/gems/shoulda-matchers-1.2.0/lib/shoulda/matchers/assertion_error.rb
challah-rolls-0.1.0 vendor/bundle/gems/challah-0.8.0.pre/vendor/bundle/gems/shoulda-matchers-1.2.0/lib/shoulda/matchers/assertion_error.rb
challah-0.8.0.pre vendor/bundle/gems/shoulda-matchers-1.2.0/lib/shoulda/matchers/assertion_error.rb
challah-0.7.1 vendor/bundle/gems/shoulda-matchers-1.2.0/lib/shoulda/matchers/assertion_error.rb
challah-0.7.0 vendor/bundle/gems/shoulda-matchers-1.2.0/lib/shoulda/matchers/assertion_error.rb
challah-0.7.0.pre2 vendor/bundle/gems/shoulda-matchers-1.2.0/lib/shoulda/matchers/assertion_error.rb
challah-0.7.0.pre vendor/bundle/gems/shoulda-matchers-1.2.0/lib/shoulda/matchers/assertion_error.rb
challah-0.6.2 vendor/bundle/gems/shoulda-matchers-1.0.0/lib/shoulda/matchers/assertion_error.rb
shoulda-matchers-1.2.0 lib/shoulda/matchers/assertion_error.rb
challah-0.6.1 vendor/bundle/gems/shoulda-matchers-1.0.0/lib/shoulda/matchers/assertion_error.rb
challah-0.6.0 vendor/bundle/gems/shoulda-matchers-1.0.0/lib/shoulda/matchers/assertion_error.rb
shoulda-matchers-1.1.0 lib/shoulda/matchers/assertion_error.rb
challah-0.5.4 vendor/bundle/gems/shoulda-matchers-1.0.0/lib/shoulda/matchers/assertion_error.rb
challah-0.5.3 vendor/bundle/gems/shoulda-matchers-1.0.0/lib/shoulda/matchers/assertion_error.rb