[macruby-changes] [3611] MacRuby/trunk/spec/macruby
source_changes at macosforge.org
source_changes at macosforge.org
Wed Feb 24 16:37:43 PST 2010
Revision: 3611
http://trac.macosforge.org/projects/ruby/changeset/3611
Author: ernest.prabhakar at gmail.com
Date: 2010-02-24 16:37:41 -0800 (Wed, 24 Feb 2010)
Log Message:
-----------
Change Dispatch::Source specs to use mspec tmp for temporary files
Modified Paths:
--------------
MacRuby/trunk/spec/macruby/core/gcd/source_spec.rb
MacRuby/trunk/spec/macruby/library/dispatch/source_spec.rb
MacRuby/trunk/spec/macruby/tags/macruby/library/dispatch/source_tags.txt
Modified: MacRuby/trunk/spec/macruby/core/gcd/source_spec.rb
===================================================================
--- MacRuby/trunk/spec/macruby/core/gcd/source_spec.rb 2010-02-25 00:24:52 UTC (rev 3610)
+++ MacRuby/trunk/spec/macruby/core/gcd/source_spec.rb 2010-02-25 00:37:41 UTC (rev 3611)
@@ -214,7 +214,7 @@
describe "file:" do
before :each do
@msg = "#{$$}: #{Time.now}"
- @filename = "/var/tmp/gcd_spec_source-#{$$}-#{Time.now}"
+ @filename = tmp "gcd_spec_source-#{$$}-#{Time.now}"
@file = nil
@src = nil
end
Modified: MacRuby/trunk/spec/macruby/library/dispatch/source_spec.rb
===================================================================
--- MacRuby/trunk/spec/macruby/library/dispatch/source_spec.rb 2010-02-25 00:24:52 UTC (rev 3610)
+++ MacRuby/trunk/spec/macruby/library/dispatch/source_spec.rb 2010-02-25 00:37:41 UTC (rev 3611)
@@ -3,7 +3,7 @@
if MACOSX_VERSION >= 10.6
- describe "Dispatch::Queue source from" do
+ describe "Dispatch::Source" do
before :each do
@q = Dispatch::Queue.new('org.macruby.gcd_spec.prelude')
@src = nil
@@ -69,7 +69,7 @@
describe "vnode" do
before :each do
@msg = "#{$$}-#{Time.now}"
- @filename = "/var/tmp/gcd_spec_source-#{@msg}"
+ @filename = tmp("gcd_spec_source-#{@msg}")
@file = nil
@src = nil
end
Modified: MacRuby/trunk/spec/macruby/tags/macruby/library/dispatch/source_tags.txt
===================================================================
--- MacRuby/trunk/spec/macruby/tags/macruby/library/dispatch/source_tags.txt 2010-02-25 00:24:52 UTC (rev 3610)
+++ MacRuby/trunk/spec/macruby/tags/macruby/library/dispatch/source_tags.txt 2010-02-25 00:37:41 UTC (rev 3611)
@@ -1,3 +1,3 @@
-fails:Dispatch::Source from process fires with data indicating which process event(s)
-fails:Dispatch::Source from signal fires with data on how often the process was signaled
-fails:Dispatch::Source from vnode file fires with data indicating which file event(s)
+fails:Dispatch::Source process fires with data indicating which process event(s)
+fails:Dispatch::Source signal fires with data on how often the process was signaled
+fails:Dispatch::Source vnode file fires with data indicating which file event(s)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100224/80004d04/attachment.html>
More information about the macruby-changes
mailing list