From 7de2a4b4508b5a5614feff78c18ec182435bf1a4 Mon Sep 17 00:00:00 2001 From: Andre Arko Date: Mon, 13 Apr 2015 18:48:37 -0700 Subject: definitely produces err output --- spec/other/ext_spec.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/other/ext_spec.rb b/spec/other/ext_spec.rb index eb5ca10a..dca6c80a 100644 --- a/spec/other/ext_spec.rb +++ b/spec/other/ext_spec.rb @@ -57,12 +57,12 @@ describe "Gem::SourceIndex#refresh!" do end it "does not explode when called", :if => rubygems_1_7 do - run "Gem.source_index.refresh!" - run "Gem::SourceIndex.new([]).refresh!" + run "Gem.source_index.refresh!", :expect_err => true + run "Gem::SourceIndex.new([]).refresh!", :expect_err => true end it "does not explode when called", :unless => rubygems_1_7 do - run "Gem.source_index.refresh!" - run "Gem::SourceIndex.from_gems_in([]).refresh!" + run "Gem.source_index.refresh!", :expect_err => true + run "Gem::SourceIndex.from_gems_in([]).refresh!", :expect_err => true end end -- cgit v1.2.3