Revision: 3225 http://trac.macosforge.org/projects/ruby/changeset/3225 Author: ernest.prabhakar@gmail.com Date: 2010-01-08 17:47:17 -0800 (Fri, 08 Jan 2010) Log Message: ----------- Fixed Dispatch::Source::SIGNAL Modified Paths: -------------- MacRuby/trunk/spec/macruby/core/gcd/source_spec.rb MacRuby/trunk/spec/macruby/tags/macruby/core/gcd/source_tags.txt Modified: MacRuby/trunk/spec/macruby/core/gcd/source_spec.rb =================================================================== --- MacRuby/trunk/spec/macruby/core/gcd/source_spec.rb 2010-01-09 01:47:16 UTC (rev 3224) +++ MacRuby/trunk/spec/macruby/core/gcd/source_spec.rb 2010-01-09 01:47:17 UTC (rev 3225) @@ -151,10 +151,11 @@ describe :SIGNAL do before :each do @type = Dispatch::Source::SIGNAL + @signal = Signal.list["USR2"] end it "returns an instance of Dispatch::Source" do - src = Dispatch::Source.new(@type, $$, 0, @q) { } + src = Dispatch::Source.new(@type, @signal, 0, @q) { } src.should be_kind_of(Dispatch::Source) end end Modified: MacRuby/trunk/spec/macruby/tags/macruby/core/gcd/source_tags.txt =================================================================== --- MacRuby/trunk/spec/macruby/tags/macruby/core/gcd/source_tags.txt 2010-01-09 01:47:16 UTC (rev 3224) +++ MacRuby/trunk/spec/macruby/tags/macruby/core/gcd/source_tags.txt 2010-01-09 01:47:17 UTC (rev 3225) @@ -1 +0,0 @@ -fails:Dispatch::Source of type SIGNAL returns an instance of Dispatch::Source
participants (1)
-
source_changes@macosforge.org