1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

added -rubygems switch to warnings test in test_pry.rb for 1.8 compat

This commit is contained in:
John Mair 2011-06-07 20:33:37 +12:00
parent 528a55bda0
commit 50200d662a

View file

@ -9,7 +9,7 @@ describe Pry do
describe 'warning emissions' do
it 'should emit no warnings' do
Open4.popen4 'ruby -I lib -r"pry" -W -e "exit"' do |pid, stdin, stdout, stderr|
Open4.popen4 'ruby -I lib -rubygems -r"pry" -W -e "exit"' do |pid, stdin, stdout, stderr|
stderr.read.empty?.should == true
end
end