Sha256: e2ab7f965bd3cb474d4411b8d46888ce258815197f07754841d0a7a3613b9f70

Contents?: true

Size: 472 Bytes

Versions: 67

Compression:

Stored size: 472 Bytes

Contents

require 'helper'

describe "Pry::DefaultCommands::Gems" do
  describe "gem-list" do

    # fixing bug for 1.8 compat
    it 'should not raise when invoked' do
      str_output = StringIO.new
      Pry.start self, :input => InputTester.new("gem-list", "exit-all"), :output => str_output
      str_output.string.should.not =~ /Error/
    end

    it 'should not raise when invoked with an argument' do
      mock_pry('gem-list pry').should.not =~ /Error/
    end
  end
end

Version data entries

67 entries across 67 versions & 1 rubygems

Version Path
pry-0.9.10 test/test_default_commands/test_gems.rb
pry-0.9.10-i386-mswin32 test/test_default_commands/test_gems.rb
pry-0.9.10-i386-mingw32 test/test_default_commands/test_gems.rb
pry-0.9.10-java test/test_default_commands/test_gems.rb
pry-0.9.10pre1 test/test_default_commands/test_gems.rb
pry-0.9.10pre1-i386-mswin32 test/test_default_commands/test_gems.rb
pry-0.9.10pre1-i386-mingw32 test/test_default_commands/test_gems.rb
pry-0.9.10pre1-java test/test_default_commands/test_gems.rb
pry-0.10.pre.1-i386-mingw32 test/test_default_commands/test_gems.rb
pry-0.10.pre.1-java test/test_default_commands/test_gems.rb
pry-0.10.pre.1-i386-mswin32 test/test_default_commands/test_gems.rb
pry-0.9.9.6 test/test_default_commands/test_gems.rb
pry-0.9.9.6-i386-mswin32 test/test_default_commands/test_gems.rb
pry-0.9.9.6-i386-mingw32 test/test_default_commands/test_gems.rb
pry-0.9.9.6-java test/test_default_commands/test_gems.rb
pry-0.9.9.6pre2 test/test_default_commands/test_gems.rb
pry-0.9.9.6pre2-i386-mswin32 test/test_default_commands/test_gems.rb
pry-0.9.9.6pre2-i386-mingw32 test/test_default_commands/test_gems.rb
pry-0.9.9.6pre2-java test/test_default_commands/test_gems.rb
pry-0.9.9.6pre1 test/test_default_commands/test_gems.rb