summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/test_gem.rb')
-rw-r--r--test/rubygems/test_gem.rb10
1 files changed, 1 insertions, 9 deletions
diff --git a/test/rubygems/test_gem.rb b/test/rubygems/test_gem.rb
index e18004c4ea..e6d3f896b4 100644
--- a/test/rubygems/test_gem.rb
+++ b/test/rubygems/test_gem.rb
@@ -78,14 +78,6 @@ class TestGem < RubyGemTestCase
end
end
- def test_self_bin_path_with_spaces
- quick_gem 'sp ace', '3' do |s|
- s.executables = ['exec']
- end
- path = Gem.bin_path('sp ace', 'exec')
- assert_equal %w(" "), [path[0,1], path[-1,1]], "Path should be escaped"
- end
-
def test_self_bin_path_not_found
assert_raises(Gem::GemNotFoundException) do
Gem.bin_path('non-existent')
@@ -449,7 +441,7 @@ class TestGem < RubyGemTestCase
def test_self_refresh
util_make_gems
- a1_spec = File.join @gemhome, "specifications", "#{@a1.full_name}.gemspec"
+ a1_spec = File.join @gemhome, "specifications", "#{@a1.full_name}.gemspec"
FileUtils.mv a1_spec, @tempdir