Sha256: 4cf69cdfde74ea75255ba2125e6be18712f6e19c282be3d7ddd0e9448547ce86

Contents?: true

Size: 583 Bytes

Versions: 24

Compression:

Stored size: 583 Bytes

Contents

#!/usr/bin/env ruby

#---
# Copyright 2003-2013 by Jim Weirich (jim.weirich@gmail.com).
# All rights reserved.

# Permission is granted for use, copying, modification, distribution,
# and distribution of modified versions of this work as long as the
# above copyright notice is included.
#+++

begin
  # Minitest 5.0+
  require 'minitest/test'
  class Minitest::Test
    include FlexMock::Minitest
  end

rescue LoadError
  # Minitest < 5.0, as shipped with ruby at least up to 2.1
  require 'minitest/unit'
  class MiniTest::Unit::TestCase
    include FlexMock::Minitest
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
flexmock-2.0.2 lib/flexmock/minitest_extensions.rb
flexmock-2.0.1 lib/flexmock/minitest_extensions.rb
flexmock-2.0.0 lib/flexmock/minitest_extensions.rb
flexmock-2.0.0.rc1 lib/flexmock/minitest_extensions.rb