Modified: MacRuby/trunk/spec/macruby/core/constant_spec.rb (3459 => 3460)
--- 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 (3459 => 3460)
--- 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