[macruby-changes] [1445] MacRuby/branches/experimental/spec/frozen/language/file_spec.rb
source_changes at macosforge.org
source_changes at macosforge.org
Wed Apr 22 15:08:13 PDT 2009
Revision: 1445
http://trac.macosforge.org/projects/ruby/changeset/1445
Author: eloy.de.enige at gmail.com
Date: 2009-04-22 15:08:12 -0700 (Wed, 22 Apr 2009)
Log Message:
-----------
Correct coding of __FILE__ expectation
Modified Paths:
--------------
MacRuby/branches/experimental/spec/frozen/language/file_spec.rb
Modified: MacRuby/branches/experimental/spec/frozen/language/file_spec.rb
===================================================================
--- MacRuby/branches/experimental/spec/frozen/language/file_spec.rb 2009-04-22 22:08:02 UTC (rev 1444)
+++ MacRuby/branches/experimental/spec/frozen/language/file_spec.rb 2009-04-22 22:08:12 UTC (rev 1445)
@@ -14,7 +14,7 @@
it "equals a relative path when required using a relative path" do
path = "language/fixtures/file.rb"
require path
- ScratchPad.recorded.should == "./#{path}"
+ ScratchPad.recorded.should == File.join(".",path)
end
end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090422/48a8e1ec/attachment.html>
More information about the macruby-changes
mailing list