Modified: MacRuby/branches/experimental/spec/frozen/language/alias_spec.rb (1104 => 1105)
--- MacRuby/branches/experimental/spec/frozen/language/alias_spec.rb 2009-03-23 13:45:34 UTC (rev 1104)
+++ MacRuby/branches/experimental/spec/frozen/language/alias_spec.rb 2009-03-23 14:04:39 UTC (rev 1105)
@@ -28,7 +28,7 @@
@meta.class_eval do
alias __value value
end
- (@obj.methods - original_methods).should == ["__value"]
+ (@obj.methods - original_methods).map {|m| m.to_s }.should == ["__value"]
end
it "adds the new method to the list of public methods" do
@@ -36,7 +36,7 @@
@meta.class_eval do
alias __value value
end
- (@obj.public_methods - original_methods).should == ["__value"]
+ (@obj.public_methods - original_methods).map {|m| m.to_s }.should == ["__value"]
end
it "overwrites an existing method with the target name" do
Deleted: MacRuby/branches/experimental/spec/frozen/tags/1.9/language/alias_tags.txt (1104 => 1105)
--- MacRuby/branches/experimental/spec/frozen/tags/1.9/language/alias_tags.txt 2009-03-23 13:45:34 UTC (rev 1104)
+++ MacRuby/branches/experimental/spec/frozen/tags/1.9/language/alias_tags.txt 2009-03-23 14:04:39 UTC (rev 1105)
@@ -1,2 +0,0 @@
-fails:The alias keyword adds the new method to the list of methods
-fails:The alias keyword adds the new method to the list of public methods