[macruby-changes] [3377] MacRuby/trunk/spec/frozen/language/def_spec.rb
source_changes at macosforge.org
source_changes at macosforge.org
Sat Jan 30 19:18:55 PST 2010
Revision: 3377
http://trac.macosforge.org/projects/ruby/changeset/3377
Author: lsansonetti at apple.com
Date: 2010-01-30 19:18:54 -0800 (Sat, 30 Jan 2010)
Log Message:
-----------
let's define initialize_copy correctly
Modified Paths:
--------------
MacRuby/trunk/spec/frozen/language/def_spec.rb
Modified: MacRuby/trunk/spec/frozen/language/def_spec.rb
===================================================================
--- MacRuby/trunk/spec/frozen/language/def_spec.rb 2010-01-31 03:18:30 UTC (rev 3376)
+++ MacRuby/trunk/spec/frozen/language/def_spec.rb 2010-01-31 03:18:54 UTC (rev 3377)
@@ -24,7 +24,7 @@
describe "Defining an 'initialize_copy' method" do
it "should make it private" do
class DefInitializeCopySpec
- def initialize_copy
+ def initialize_copy(obj)
end
end
DefInitializeCopySpec.should have_private_instance_method(:initialize_copy, false)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100130/a1c33366/attachment-0001.html>
More information about the macruby-changes
mailing list