summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_commands_uninstall_command.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/test_gem_commands_uninstall_command.rb')
-rw-r--r--test/rubygems/test_gem_commands_uninstall_command.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_commands_uninstall_command.rb b/test/rubygems/test_gem_commands_uninstall_command.rb
index 092a9072c0..cd440f63ee 100644
--- a/test/rubygems/test_gem_commands_uninstall_command.rb
+++ b/test/rubygems/test_gem_commands_uninstall_command.rb
@@ -59,7 +59,7 @@ class TestGemCommandsUninstallCommand < GemInstallerTestCase
def test_execute_prerelease
@spec = quick_gem "pre", "2.b"
- @gem = File.join @tempdir, "#{@spec.full_name}.gem"
+ @gem = File.join @tempdir, @spec.file_name
FileUtils.touch @gem
util_setup_gem