diff options
Diffstat (limited to 'test/rubygems/test_gem_commands_unpack_command.rb')
-rw-r--r-- | test/rubygems/test_gem_commands_unpack_command.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rubygems/test_gem_commands_unpack_command.rb b/test/rubygems/test_gem_commands_unpack_command.rb index cd8716b36b..183a7e67c0 100644 --- a/test/rubygems/test_gem_commands_unpack_command.rb +++ b/test/rubygems/test_gem_commands_unpack_command.rb @@ -191,8 +191,8 @@ class TestGemCommandsUnpackCommand < Gem::TestCase use_ui @ui do Dir.chdir @tempdir do - Gem::Builder.new(foo_spec).build - Gem::Builder.new(foo_bar_spec).build + Gem::Package.build foo_spec + Gem::Package.build foo_bar_spec end end @@ -209,7 +209,7 @@ class TestGemCommandsUnpackCommand < Gem::TestCase end end - assert File.exist?(File.join(@tempdir, foo_spec.full_name)) + assert_path_exists File.join(@tempdir, foo_spec.full_name) end def test_handle_options_metadata |