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.4.2 lib/flexmock/minitest_extensions.rb
flexmock-3.0.1 lib/flexmock/minitest_extensions.rb
flexmock-2.4.1 lib/flexmock/minitest_extensions.rb
flexmock-3.0.0 lib/flexmock/minitest_extensions.rb
flexmock-2.4.0 lib/flexmock/minitest_extensions.rb
flexmock-2.3.8 lib/flexmock/minitest_extensions.rb
flexmock-2.3.6 lib/flexmock/minitest_extensions.rb
flexmock-2.3.5 lib/flexmock/minitest_extensions.rb
flexmock-2.3.4 lib/flexmock/minitest_extensions.rb
flexmock-2.3.3 lib/flexmock/minitest_extensions.rb
flexmock-2.3.2 lib/flexmock/minitest_extensions.rb
flexmock-2.3.1 lib/flexmock/minitest_extensions.rb
flexmock-2.3.0 lib/flexmock/minitest_extensions.rb
flexmock-2.2.1 lib/flexmock/minitest_extensions.rb
flexmock-2.2.0 lib/flexmock/minitest_extensions.rb
flexmock-2.1.0 lib/flexmock/minitest_extensions.rb
flexmock-2.0.6 lib/flexmock/minitest_extensions.rb
flexmock-2.0.5 lib/flexmock/minitest_extensions.rb
flexmock-2.0.4 lib/flexmock/minitest_extensions.rb
flexmock-2.0.3 lib/flexmock/minitest_extensions.rb