[macruby-changes] [1330] MacRuby/branches/experimental/spec/frozen/core/io/pid_spec.rb
source_changes at macosforge.org
source_changes at macosforge.org
Sat Apr 4 08:20:10 PDT 2009
Revision: 1330
http://trac.macosforge.org/projects/ruby/changeset/1330
Author: eloy.de.enige at gmail.com
Date: 2009-04-04 08:20:10 -0700 (Sat, 04 Apr 2009)
Log Message:
-----------
Use RUBY_EXE not RUBY_NAME if ruby_exe helper is not suitable.
Modified Paths:
--------------
MacRuby/branches/experimental/spec/frozen/core/io/pid_spec.rb
Modified: MacRuby/branches/experimental/spec/frozen/core/io/pid_spec.rb
===================================================================
--- MacRuby/branches/experimental/spec/frozen/core/io/pid_spec.rb 2009-04-04 13:50:48 UTC (rev 1329)
+++ MacRuby/branches/experimental/spec/frozen/core/io/pid_spec.rb 2009-04-04 15:20:10 UTC (rev 1330)
@@ -17,13 +17,13 @@
end
it "returns the ID of a process associated with stream" do
- IO.popen(RUBY_NAME, "r+") { |io|
+ IO.popen(RUBY_EXE, "r+") { |io|
io.pid.should_not == nil
}
end
it "raises IOError on closed stream" do
- process_io = IO.popen(RUBY_NAME, "r+") { |io| io }
+ process_io = IO.popen(RUBY_EXE, "r+") { |io| io }
lambda { process_io.pid }.should raise_error(IOError)
end
end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090404/dd7197e0/attachment.html>
More information about the macruby-changes
mailing list