Sha256: 5503e6be7a02a0ccce7ee65cc2445ff0c6a7f3ed582d609d24ffd1cd062f8c70

Contents?: true

Size: 539 Bytes

Versions: 4

Compression:

Stored size: 539 Bytes

Contents

require 'spec_helper'

module RSpec
  module Matchers
    describe Pretty do
      include Pretty

      describe "#_pretty_print" do
        it 'is deprecated' do
          expect_deprecation_with_call_site(__FILE__, __LINE__ + 1, /_pretty_print/)
          _pretty_print([1, 2])
        end
      end

      describe "#expected_to_sentence" do
        it 'is deprecated' do
          expect_deprecation_with_call_site(__FILE__, __LINE__ + 1, /expected_to_sentence/)
          expected_to_sentence
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rspec-expectations-2.99.2 spec/rspec/matchers/pretty_spec.rb
rspec-expectations-2.99.1 spec/rspec/matchers/pretty_spec.rb
rspec-expectations-2.99.0 spec/rspec/matchers/pretty_spec.rb
rspec-expectations-2.99.0.rc1 spec/rspec/matchers/pretty_spec.rb