diff options
author | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-06-29 14:35:09 +0000 |
---|---|---|
committer | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-06-29 14:35:09 +0000 |
commit | ddcbfc281b8fafc7b101b50a53e239c24851a80d (patch) | |
tree | abc35065c29846042d84e71b6bf500df5cd76d68 /spec/mspec/spec/commands/mspec_spec.rb | |
parent | e7215d6278bb770c0a1656dae3b35a6ff4f28319 (diff) | |
download | ruby-ddcbfc281b8fafc7b101b50a53e239c24851a80d.tar.gz |
Update to ruby/mspec@021a119
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/mspec/spec/commands/mspec_spec.rb')
-rw-r--r-- | spec/mspec/spec/commands/mspec_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/mspec/spec/commands/mspec_spec.rb b/spec/mspec/spec/commands/mspec_spec.rb index 5d2134a054..b01af6b41b 100644 --- a/spec/mspec/spec/commands/mspec_spec.rb +++ b/spec/mspec/spec/commands/mspec_spec.rb @@ -60,13 +60,13 @@ describe MSpecMain, "#run" do end it "uses exec to invoke the runner script" do - @script.should_receive(:exec).with("ruby", "#{MSPEC_HOME}/bin/mspec-run") + @script.should_receive(:exec).with("ruby", "#{MSPEC_HOME}/bin/mspec-run", close_others: false) @script.options [] @script.run end it "shows the command line on stderr" do - @script.should_receive(:exec).with("ruby", "#{MSPEC_HOME}/bin/mspec-run") + @script.should_receive(:exec).with("ruby", "#{MSPEC_HOME}/bin/mspec-run", close_others: false) @script.options [] @script.run $stderr.to_s.should == "$ ruby #{Dir.pwd}/bin/mspec-run\n" @@ -74,7 +74,7 @@ describe MSpecMain, "#run" do it "adds config[:launch] to the exec options" do @script.should_receive(:exec).with("ruby", - "-Xlaunch.option", "#{MSPEC_HOME}/bin/mspec-run") + "-Xlaunch.option", "#{MSPEC_HOME}/bin/mspec-run", close_others: false) @config[:launch] << "-Xlaunch.option" @script.options [] @script.run |