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

removed warning test as warnings from bundler were causing test failure

This commit is contained in:
John Mair 2011-09-22 03:15:34 +12:00
parent ab6dddead6
commit f487d7d660

View file

@ -2,16 +2,15 @@ require 'helper'
describe Pry do
if RUBY_PLATFORM !~ /mingw/ && RUBY_PLATFORM !~ /mswin/ && RUBY_PLATFORM != 'java'
describe 'warning emissions' do
system('ruby -I lib -rubygems -r"pry" -W -e "exit"')
it 'should emit no warnings' do
Open4.popen4 'ruby -I lib -rubygems -r"pry" -W -e "exit"' do |pid, stdin, stdout, stderr|
stderr.read.empty?.should == true
end
end
end
end
# if RUBY_PLATFORM !~ /mingw/ && RUBY_PLATFORM !~ /mswin/ && RUBY_PLATFORM != 'java'
# describe 'warning emissions' do
# it 'should emit no warnings' do
# Open4.popen4 'ruby -I lib -rubygems -r"pry" -W -e "exit"' do |pid, stdin, stdout, stderr|
# stderr.read.empty?.should == true
# end
# end
# end
# end
if RUBY_VERSION =~ /1.9/
describe "Exotic object support" do