[macruby-changes] [3234] MacRuby/trunk/spec/macruby/core/gcd/queue_spec.rb

source_changes at macosforge.org source_changes at macosforge.org
Sun Jan 10 13:56:01 PST 2010


Revision: 3234
          http://trac.macosforge.org/projects/ruby/changeset/3234
Author:   eloy.de.enige at gmail.com
Date:     2010-01-10 13:56:00 -0800 (Sun, 10 Jan 2010)
Log Message:
-----------
Fix an example, the matcher method is `eql'.

Modified Paths:
--------------
    MacRuby/trunk/spec/macruby/core/gcd/queue_spec.rb

Modified: MacRuby/trunk/spec/macruby/core/gcd/queue_spec.rb
===================================================================
--- MacRuby/trunk/spec/macruby/core/gcd/queue_spec.rb	2010-01-10 20:54:54 UTC (rev 3233)
+++ MacRuby/trunk/spec/macruby/core/gcd/queue_spec.rb	2010-01-10 21:56:00 UTC (rev 3234)
@@ -32,7 +32,7 @@
       it "should return the same queue object across invocations" do
         qa = Dispatch::Queue.concurrent(:low)
         qb = Dispatch::Queue.concurrent(:low)
-        qa.should eql?(qb)
+        qa.should eql(qb)
       end
 
       it "raises a TypeError if the provided priority is not a symbol" do
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100110/e21300ea/attachment.html>


More information about the macruby-changes mailing list