Sha256: b31efe0fb46443a42a8407055cd342b86a7b8ccbc49242b491c9fc4950fecd4b

Contents?: true

Size: 506 Bytes

Versions: 40

Compression:

Stored size: 506 Bytes

Contents

require 'helper'

describe 'Pry::DefaultCommands::CD' do
  describe 'cd' do
    # Regression test for ticket #516.
    #it 'should be able to cd into the Object BasicObject.' do
    #  mock_pry('cd BasicObject.new').should.not =~ /\Aundefined method `__binding__'/
    #end
    
    # Regression test for ticket #516
    # Possibly move higher up.
    it 'should not fail with undefined BasicObject#is_a?' do
      mock_pry('cd BasicObject.new').should.not =~ /undefined method `is_a\?'/
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
pry-0.9.9.6 test/test_default_commands/test_cd.rb
pry-0.9.9.6-i386-mswin32 test/test_default_commands/test_cd.rb
pry-0.9.9.6-i386-mingw32 test/test_default_commands/test_cd.rb
pry-0.9.9.6-java test/test_default_commands/test_cd.rb
pry-0.9.9.6pre2 test/test_default_commands/test_cd.rb
pry-0.9.9.6pre2-i386-mswin32 test/test_default_commands/test_cd.rb
pry-0.9.9.6pre2-i386-mingw32 test/test_default_commands/test_cd.rb
pry-0.9.9.6pre2-java test/test_default_commands/test_cd.rb
pry-0.9.9.6pre1 test/test_default_commands/test_cd.rb
pry-0.9.9.6pre1-i386-mswin32 test/test_default_commands/test_cd.rb
pry-0.9.9.6pre1-i386-mingw32 test/test_default_commands/test_cd.rb
pry-0.9.9.6pre1-java test/test_default_commands/test_cd.rb
pry-0.9.9.5-java test/test_default_commands/test_cd.rb
pry-0.9.9.5 test/test_default_commands/test_cd.rb
pry-0.9.9.5-i386-mingw32 test/test_default_commands/test_cd.rb
pry-0.9.9.5-i386-mswin32 test/test_default_commands/test_cd.rb
pry-0.9.9.4 test/test_default_commands/test_cd.rb
pry-0.9.9.4-i386-mswin32 test/test_default_commands/test_cd.rb
pry-0.9.9.4-i386-mingw32 test/test_default_commands/test_cd.rb
pry-0.9.9.4-java test/test_default_commands/test_cd.rb