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

Version Path
floehopper-mocha-0.9.6.20090629164857 test/acceptance/stubba_test.rb
floehopper-mocha-0.9.6.20090629165308 test/acceptance/stubba_test.rb
floehopper-mocha-0.9.6.20090701111305 test/acceptance/stubba_test.rb
floehopper-mocha-0.9.7.20090701124354 test/acceptance/stubba_test.rb
jferris-mocha-0.9.5.0.1240002286 test/acceptance/stubba_test.rb
jferris-mocha-0.9.5.0.1240351621 test/acceptance/stubba_test.rb
jferris-mocha-0.9.5.0.1241126838 test/acceptance/stubba_test.rb
jferris-mocha-0.9.7.0.1247796736 test/acceptance/stubba_test.rb
jferris-mocha-0.9.7.20090701124354 test/acceptance/stubba_test.rb
jferris-mocha-0.9.7.20090911190113 test/acceptance/stubba_test.rb
mocha-macruby-0.9.8.20100129120100 test/acceptance/stubba_test.rb
mcmire-mocha-0.9.8 test/acceptance/stubba_test.rb
mocha-0.9.8 test/acceptance/stubba_test.rb
mocha-0.9.6 test/acceptance/stubba_test.rb
mocha-0.9.7 test/acceptance/stubba_test.rb