Sha256: 48768b536ea48c880dc9786e5bc6ad4dcca1cc3d0c22c97752b0fea41716e0c1
Contents?: true
Size: 563 Bytes
Versions: 79
Compression:
Stored size: 563 Bytes
Contents
require 'helper' describe "gem-list" do # fixing bug for 1.8 compat it 'should not raise when invoked' do proc { pry_eval(self, 'gem-list') }.should.not.raise end it 'should work arglessly' do list = pry_eval('gem-list') list.should =~ /slop \(/ list.should =~ /bacon \(/ end it 'should find arg' do prylist = pry_eval('gem-list slop') prylist.should =~ /slop \(/ prylist.should.not =~ /bacon/ end it 'should return non-results as silence' do pry_eval('gem-list aoeuoueouaou').should.empty? end end
Version data entries
79 entries across 79 versions & 5 rubygems