Sha256: ae5bcf944f4778ed6e5e77094c719c5feb8373a46836977a45776e0bdbc2b96a
Contents?: true
Size: 449 Bytes
Versions: 15
Compression:
Stored size: 449 Bytes
Contents
require File.join(File.dirname(__FILE__), "..", "test_helper") require 'deprecation_disabler' class StubbaTest < Test::Unit::TestCase include DeprecationDisabler def test_should_report_deprecation_of_stubba_which_will_be_removed_in_a_future_release disable_deprecations do load 'stubba.rb' end assert Mocha::Deprecation.messages.include?("require 'stubba' is no longer needed and stubba.rb will soon be removed") end end
Version data entries
15 entries across 15 versions & 5 rubygems