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:
parent
528a55bda0
commit
50200d662a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue