Modified: MacRuby/trunk/spec/macruby/fixtures/method.rb (3759 => 3760)
--- MacRuby/trunk/spec/macruby/fixtures/method.rb 2010-03-13 04:31:56 UTC (rev 3759)
+++ MacRuby/trunk/spec/macruby/fixtures/method.rb 2010-03-13 04:33:48 UTC (rev 3760)
@@ -69,16 +69,3 @@
x + x2 == 42
end
end
-
-require File.dirname(__FILE__) + "/../spec_helper"
-
-describe "An Obj-C object" do
- before :each do
- @o = TestMethod.new
- end
-
- it "allows the use of #[] and #[]= as respective shortcuts to objectForKey: and setObject:forKey:" do
- @o['foo'] = 'ok'
- @o['foo'].should == 'ok'
- end
-end
Modified: MacRuby/trunk/spec/macruby/language/objc_method_spec.rb (3759 => 3760)
--- MacRuby/trunk/spec/macruby/language/objc_method_spec.rb 2010-03-13 04:31:56 UTC (rev 3759)
+++ MacRuby/trunk/spec/macruby/language/objc_method_spec.rb 2010-03-13 04:33:48 UTC (rev 3760)
@@ -691,3 +691,14 @@
@um.canUndo.should == false
end
end
+
+describe "An Obj-C object" do
+ before :each do
+ @o = TestMethod.new
+ end
+
+ it "allows the use of #[] and #[]= as respective shortcuts to objectForKey: and setObject:forKey:" do
+ @o['foo'] = 'ok'
+ @o['foo'].should == 'ok'
+ end
+end