Sha256: 0e1a292780eeea7f8708e7c945dab59c8b0740155418c489429f3fe760e9b805

Contents?: true

Size: 349 Bytes

Versions: 35

Compression:

Stored size: 349 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
    ExpectationNotMetError = ::Minitest::Assertion
  end
end

Version data entries

35 entries across 32 versions & 9 rubygems

Version Path
opal-rspec-0.8.0 rspec-expectations/upstream/lib/rspec/expectations/minitest_integration.rb
opal-rspec-0.8.0.alpha3 rspec-expectations/upstream/lib/rspec/expectations/minitest_integration.rb
opal-rspec-0.8.0.alpha2 rspec-expectations/upstream/lib/rspec/expectations/minitest_integration.rb
opal-rspec-0.8.0.alpha1 rspec-expectations/upstream/lib/rspec/expectations/minitest_integration.rb
opal-rspec-0.7.1 rspec-expectations/upstream/lib/rspec/expectations/minitest_integration.rb
opal-rspec-0.7.0 rspec-expectations/upstream/lib/rspec/expectations/minitest_integration.rb
opal-rspec-0.6.2 rspec-expectations/lib/rspec/expectations/minitest_integration.rb
opal-rspec-0.7.0.rc.2 rspec-expectations/upstream/lib/rspec/expectations/minitest_integration.rb
opal-rspec-0.6.1 rspec-expectations/lib/rspec/expectations/minitest_integration.rb
opal-rspec-0.6.0 rspec-expectations/lib/rspec/expectations/minitest_integration.rb
opal-rspec-0.6.0.beta1 rspec-expectations/lib/rspec/expectations/minitest_integration.rb
opal-connect-rspec-0.5.0 rspec-expectations/lib/rspec/expectations/minitest_integration.rb
able-neo4j-1.0.0 vendor/bundle/jruby/1.9/gems/rspec-expectations-3.1.2/lib/rspec/expectations/minitest_integration.rb
honeybadger-2.4.0 vendor/gems/ruby/2.2.0/gems/rspec-expectations-3.1.0/lib/rspec/expectations/minitest_integration.rb
honeybadger-2.4.0 vendor/gems/ruby/2.1.0/gems/rspec-expectations-3.1.0/lib/rspec/expectations/minitest_integration.rb
honeybadger-2.4.0 vendor/gems/ruby/1.9.1/gems/rspec-expectations-3.1.0/lib/rspec/expectations/minitest_integration.rb
opal-rspec-0.5.0 rspec-expectations/lib/rspec/expectations/minitest_integration.rb
logstash-input-beats-2.0.2 vendor/jruby/1.9/gems/rspec-expectations-3.1.2/lib/rspec/expectations/minitest_integration.rb
logstash-input-beats-2.0.2 vendor/jruby/1.9/gems/logstash-codec-json-2.0.3/vendor/gems/rspec-expectations-3.1.2/lib/rspec/expectations/minitest_integration.rb
logstash-codec-json-2.0.3 vendor/gems/rspec-expectations-3.1.2/lib/rspec/expectations/minitest_integration.rb