diff options
Diffstat (limited to 'test/rubygems/test_gem_commands_outdated_command.rb')
-rw-r--r-- | test/rubygems/test_gem_commands_outdated_command.rb | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/test/rubygems/test_gem_commands_outdated_command.rb b/test/rubygems/test_gem_commands_outdated_command.rb index dc5c40a782..3e61033af3 100644 --- a/test/rubygems/test_gem_commands_outdated_command.rb +++ b/test/rubygems/test_gem_commands_outdated_command.rb @@ -1,6 +1,7 @@ # frozen_string_literal: true -require_relative 'helper' -require 'rubygems/commands/outdated_command' + +require_relative "helper" +require "rubygems/commands/outdated_command" class TestGemCommandsOutdatedCommand < Gem::TestCase def setup @@ -15,10 +16,10 @@ class TestGemCommandsOutdatedCommand < Gem::TestCase def test_execute spec_fetcher do |fetcher| - fetcher.download 'foo', '1.0' - fetcher.download 'foo', '2.0' - fetcher.gem 'foo', '0.1' - fetcher.gem 'foo', '0.2' + fetcher.download "foo", "1.0" + fetcher.download "foo", "2.0" + fetcher.gem "foo", "0.1" + fetcher.gem "foo", "0.2" end use_ui @ui do @@ -31,10 +32,10 @@ class TestGemCommandsOutdatedCommand < Gem::TestCase def test_execute_with_up_to_date_platform_specific_gem spec_fetcher do |fetcher| - fetcher.download 'foo', '2.0' + fetcher.download "foo", "2.0" - fetcher.gem 'foo', '1.0' - fetcher.gem 'foo', '2.0' do |s| + fetcher.gem "foo", "1.0" + fetcher.gem "foo", "2.0" do |s| s.platform = Gem::Platform.local end end |