Update executable spec to work under RubyGems 2.6.7

parent a3320351
......@@ -41,7 +41,7 @@ group :development do
gem 'bacon'
gem 'mocha'
gem 'mocha-on-bacon'
gem 'mocha-on-bacon', github: 'segiddins/mocha-on-bacon', ref: 'seg-set-backtrace'
gem 'prettybacon'
gem 'webmock'
......
GIT
remote: git://github.com/segiddins/mocha-on-bacon.git
revision: 06b2937bf4926ec66df74318f5d21cf0f6295796
ref: seg-set-backtrace
specs:
mocha-on-bacon (0.2.2)
mocha (>= 0.13.0)
GIT
remote: https://github.com/CocoaPods/CLAide.git
revision: 8a8f26fb5d6e2b0d604bdb3c2cca14fab4f80adc
......@@ -195,10 +203,8 @@ GEM
metaclass (0.0.4)
method_source (0.8.2)
minitest (5.9.1)
mocha (1.1.0)
mocha (1.2.1)
metaclass (~> 0.0.1)
mocha-on-bacon (0.2.2)
mocha (>= 0.13.0)
multipart-post (2.0.0)
nap (1.1.0)
netrc (0.7.8)
......@@ -278,7 +284,7 @@ DEPENDENCIES
json!
kicker
mocha
mocha-on-bacon
mocha-on-bacon!
molinillo!
nanaimo!
prettybacon
......
......@@ -12,6 +12,8 @@ module Pod
it 'should support spaces in the full path of the command' do
cmd = '/Spa ces/are"/fun/false'
require 'open3'
Executable.expects(:require).with('open3')
File.expects(:file?).with(cmd).returns(true)
File.expects(:executable?).with(cmd).returns(true)
result = mock
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment