summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2015-04-13 18:48:37 -0700
committerAndre Arko <andre@arko.net>2015-04-13 18:48:37 -0700
commit7de2a4b4508b5a5614feff78c18ec182435bf1a4 (patch)
tree0d3f346fa6d4b4952f43d0ebbbaf6f8ac3dd6212
parentde368e1313dcf4411527c9e8654b1b6cfa7833c5 (diff)
downloadbundler-7de2a4b4508b5a5614feff78c18ec182435bf1a4.tar.gz
definitely produces err output
-rw-r--r--spec/other/ext_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/other/ext_spec.rb b/spec/other/ext_spec.rb
index eb5ca10ac6..dca6c80a59 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