diff --git a/spec/runtime/inline_spec.rb b/spec/runtime/inline_spec.rb index 718b896ecb4..77d3fcbed22 100644 --- a/spec/runtime/inline_spec.rb +++ b/spec/runtime/inline_spec.rb @@ -89,7 +89,6 @@ def script(code, options = {}) expect(out).to include("Installing activesupport") err_lines = err.split("\n") - err_lines.reject!{|line| line =~ /\.rb:\d+: warning: / } expect(err_lines).to be_empty expect(exitstatus).to be_zero if exitstatus end