aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_gem_commands_mirror_command.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/test_gem_commands_mirror_command.rb')
-rw-r--r--test/rubygems/test_gem_commands_mirror_command.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/rubygems/test_gem_commands_mirror_command.rb b/test/rubygems/test_gem_commands_mirror_command.rb
index 167d36f8c6..0c790ac24e 100644
--- a/test/rubygems/test_gem_commands_mirror_command.rb
+++ b/test/rubygems/test_gem_commands_mirror_command.rb
@@ -46,10 +46,10 @@ class TestGemCommandsMirrorCommand < RubyGemTestCase
@cmd.execute
end
- assert File.exist?(File.join(mirror, 'gems', "#{@a1.full_name}.gem"))
- assert File.exist?(File.join(mirror, 'gems', "#{@a2.full_name}.gem"))
- assert File.exist?(File.join(mirror, 'gems', "#{@b2.full_name}.gem"))
- assert File.exist?(File.join(mirror, 'gems', "#{@c1_2.full_name}.gem"))
+ assert File.exist?(File.join(mirror, 'gems', @a1.file_name))
+ assert File.exist?(File.join(mirror, 'gems', @a2.file_name))
+ assert File.exist?(File.join(mirror, 'gems', @b2.file_name))
+ assert File.exist?(File.join(mirror, 'gems', @c1_2.file_name))
assert File.exist?(File.join(mirror, "Marshal.#{@marshal_version}"))
ensure
orig_HOME.nil? ? ENV.delete('HOME') : ENV['HOME'] = orig_HOME