Sha256: a5656d5c530881dbfecf147cd78a80417090d8b0a5ccbc9db10141a4ffa272e3

Contents?: true

Size: 780 Bytes

Versions: 14

Compression:

Stored size: 780 Bytes

Contents

require File.expand_path('../../spec_helper', __FILE__)

describe 'Deprecations' do
  before do
    stub(RR::Deprecations).show_warning
  end

  specify 'RR::Adapters::MiniTest still works' do
    expect { RR::Adapters::MiniTest }.not_to raise_error
  end

  specify 'RR::Adapters::TestUnit still works' do
    expect { RR::Adapters::TestUnit }.not_to raise_error
  end

  specify 'RR::Adapters::Rspec::InvocationMatcher still works' do
    expect { RR::Adapters::Rspec::InvocationMatcher }.not_to raise_error
  end

  specify 'RR::Adapters::RRMethods should still work' do
    expect { RR::Adapters::RRMethods }.not_to raise_error
  end

  specify 'RR::Extensions::InstanceMethods should still work' do
    expect { RR::Extensions::InstanceMethods }.not_to raise_error
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
rr-3.1.1 spec/suites/rspec_2/unit/deprecations_spec.rb
rr-3.1.0 spec/suites/rspec_2/unit/deprecations_spec.rb
rr-3.0.9 spec/suites/rspec_2/unit/deprecations_spec.rb
rr-3.0.8 spec/suites/rspec_2/unit/deprecations_spec.rb
rr-3.0.7 spec/suites/rspec_2/unit/deprecations_spec.rb
rr-3.0.6 spec/suites/rspec_2/unit/deprecations_spec.rb
rr-3.0.5 spec/suites/rspec_2/unit/deprecations_spec.rb
rr-3.0.4 spec/suites/rspec_2/unit/deprecations_spec.rb
rr-3.0.3 spec/suites/rspec_2/unit/deprecations_spec.rb
rr-3.0.2 spec/suites/rspec_2/unit/deprecations_spec.rb
rr-3.0.1 spec/suites/rspec_2/unit/deprecations_spec.rb
rr-3.0.0 spec/suites/rspec_2/unit/deprecations_spec.rb
rr-1.2.1 spec/suites/rspec_2/unit/deprecations_spec.rb
rr-1.2.0 spec/suites/rspec_2/unit/deprecations_spec.rb