[macruby-changes] [3460] MacRuby/trunk/spec/macruby
source_changes at macosforge.org
source_changes at macosforge.org
Mon Feb 8 18:06:10 PST 2010
Revision: 3460
http://trac.macosforge.org/projects/ruby/changeset/3460
Author: lsansonetti at apple.com
Date: 2010-02-08 18:06:07 -0800 (Mon, 08 Feb 2010)
Log Message:
-----------
refresh the nsstring specs
Modified Paths:
--------------
MacRuby/trunk/spec/macruby/core/constant_spec.rb
MacRuby/trunk/spec/macruby/tags/macruby/core/string_tags.txt
Modified: MacRuby/trunk/spec/macruby/core/constant_spec.rb
===================================================================
--- MacRuby/trunk/spec/macruby/core/constant_spec.rb 2010-02-09 01:08:20 UTC (rev 3459)
+++ MacRuby/trunk/spec/macruby/core/constant_spec.rb 2010-02-09 02:06:07 UTC (rev 3460)
@@ -3,7 +3,7 @@
describe "A BridgeSupport constant" do
it "of type 'id' is available as an Object in Ruby" do
- ConstantObject.class.should == NSString
+ ConstantObject.is_a?(String).should == true
ConstantObject.should == 'foo'
end
Modified: MacRuby/trunk/spec/macruby/tags/macruby/core/string_tags.txt
===================================================================
--- MacRuby/trunk/spec/macruby/tags/macruby/core/string_tags.txt 2010-02-09 01:08:20 UTC (rev 3459)
+++ MacRuby/trunk/spec/macruby/tags/macruby/core/string_tags.txt 2010-02-09 02:06:07 UTC (rev 3460)
@@ -1,3 +1,5 @@
critical:The NSString class can be subclassed and later instantiated
critical:An NSString object can have a singleton class
+critical:An NSString object is immutable
+fails:An NSString object is an instance of the NSString class
fails:A String object can match() a Regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100208/1f7642f4/attachment-0001.html>
More information about the macruby-changes
mailing list