diff options
Diffstat (limited to 'test/rubygems/test_gem_commands_open_command.rb')
-rw-r--r-- | test/rubygems/test_gem_commands_open_command.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_commands_open_command.rb b/test/rubygems/test_gem_commands_open_command.rb index 3ec38972e6..a96fa6ea23 100644 --- a/test/rubygems/test_gem_commands_open_command.rb +++ b/test/rubygems/test_gem_commands_open_command.rb @@ -24,7 +24,8 @@ class TestGemCommandsOpenCommand < Gem::TestCase @cmd.options[:args] = %w[foo] @cmd.options[:editor] = "#{Gem.ruby} -e0 --" - spec = gem 'foo' + gem 'foo', '1.0.0' + spec = gem 'foo', '1.0.1' mock = MiniTest::Mock.new mock.expect(:call, true, [spec.full_gem_path]) |