[macruby-changes] [1332] MacRuby/branches/experimental/spec/frozen/core

source_changes at macosforge.org source_changes at macosforge.org
Sat Apr 4 08:20:27 PDT 2009


Revision: 1332
          http://trac.macosforge.org/projects/ruby/changeset/1332
Author:   eloy.de.enige at gmail.com
Date:     2009-04-04 08:20:27 -0700 (Sat, 04 Apr 2009)
Log Message:
-----------
Add specs for RUBY_VERSION and RUBY_PATCHLEVEL. (Eloy: Fixed tabs)

Added Paths:
-----------
    MacRuby/branches/experimental/spec/frozen/core/builtin_constants/
    MacRuby/branches/experimental/spec/frozen/core/builtin_constants/builtin_constants.rb

Added: MacRuby/branches/experimental/spec/frozen/core/builtin_constants/builtin_constants.rb
===================================================================
--- MacRuby/branches/experimental/spec/frozen/core/builtin_constants/builtin_constants.rb	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/core/builtin_constants/builtin_constants.rb	2009-04-04 15:20:27 UTC (rev 1332)
@@ -0,0 +1,13 @@
+require File.dirname(__FILE__) + '/../../spec_helper'
+
+describe "RUBY_VERSION" do
+  it "is a String" do
+    RUBY_VERSION.should be_kind_of(String)
+  end
+end
+
+describe "RUBY_PATCHLEVEL" do
+  it "is a Fixnum" do
+    RUBY_PATCHLEVEL.should be_kind_of(Fixnum)
+  end
+end
\ No newline at end of file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090404/b6390a56/attachment.html>


More information about the macruby-changes mailing list