Sha256: dabc13463a3f2dc5a56841b82e760ba00687bb0e6f01011247f5cb3256c429ad

Contents?: true

Size: 399 Bytes

Versions: 4

Compression:

Stored size: 399 Bytes

Contents

require 'rspec/expectations'

Minitest::Test.class_eval do
  include ::RSpec::Matchers

  def expect(*a, &b)
    assert(true) # so each expectation gets counted in minitest's assertion stats
    super
  end
end

module RSpec
  module Expectations
    remove_const :ExpectationNotMetError
    # Exception raised when an expectation fails.
    ExpectationNotMetError = ::Minitest::Assertion
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
suzuko-0.1.8 vendor/bundle/ruby/2.0.0/gems/rspec-expectations-3.2.1/lib/rspec/expectations/minitest_integration.rb
suzuko-0.1.7 vendor/bundle/ruby/2.0.0/gems/rspec-expectations-3.2.1/lib/rspec/expectations/minitest_integration.rb
rspec-expectations-3.2.1 lib/rspec/expectations/minitest_integration.rb
rspec-expectations-3.2.0 lib/rspec/expectations/minitest_integration.rb