[macruby-changes] [802] MacRuby/trunk/test-macruby/cases/hotcocoa/mappings_test.rb

source_changes at macosforge.org source_changes at macosforge.org
Tue Jan 20 16:29:03 PST 2009


Revision: 802
          http://trac.macosforge.org/projects/ruby/changeset/802
Author:   eloy.de.enige at gmail.com
Date:     2009-01-20 16:29:02 -0800 (Tue, 20 Jan 2009)
Log Message:
-----------
Oops, actually do what the test says?\226?\128?\166

Modified Paths:
--------------
    MacRuby/trunk/test-macruby/cases/hotcocoa/mappings_test.rb

Modified: MacRuby/trunk/test-macruby/cases/hotcocoa/mappings_test.rb
===================================================================
--- MacRuby/trunk/test-macruby/cases/hotcocoa/mappings_test.rb	2009-01-21 00:21:56 UTC (rev 801)
+++ MacRuby/trunk/test-macruby/cases/hotcocoa/mappings_test.rb	2009-01-21 00:29:02 UTC (rev 802)
@@ -28,7 +28,7 @@
   end
   
   it "should create a mapping to a class with a symbol name of the class given to #map" do
-    Mappings.map(:klass => 'SampleClass') {}
+    Mappings.map(:klass => :SampleClass) {}
     assert_equal SampleClass, Mappings.mappings[:klass].control_class
   end
   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090120/f93e508b/attachment.html>


More information about the macruby-changes mailing list