diff options
Diffstat (limited to 'spec/other/ext_spec.rb')
-rw-r--r-- | spec/other/ext_spec.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/spec/other/ext_spec.rb b/spec/other/ext_spec.rb index 3f6f8b4928..bc8c781c5d 100644 --- a/spec/other/ext_spec.rb +++ b/spec/other/ext_spec.rb @@ -54,13 +54,8 @@ RSpec.describe "Gem::SourceIndex#refresh!" do G end - it "does not explode when called", :rubygems => "1.7" do + it "does not explode when called" do run "Gem.source_index.refresh!" run "Gem::SourceIndex.new([]).refresh!" end - - it "does not explode when called", :rubygems => "< 1.7" do - run "Gem.source_index.refresh!" - run "Gem::SourceIndex.from_gems_in([]).refresh!" - end end |