diff options
Diffstat (limited to 'spec/ruby/core/builtin_constants')
-rw-r--r-- | spec/ruby/core/builtin_constants/builtin_constants_spec.rb | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/spec/ruby/core/builtin_constants/builtin_constants_spec.rb b/spec/ruby/core/builtin_constants/builtin_constants_spec.rb new file mode 100644 index 0000000000..9019b127c2 --- /dev/null +++ b/spec/ruby/core/builtin_constants/builtin_constants_spec.rb @@ -0,0 +1,49 @@ +require File.expand_path('../../../spec_helper', __FILE__) + +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 + +describe "RUBY_COPYRIGHT" do + it "is a String" do + RUBY_COPYRIGHT.should be_kind_of(String) + end +end + +describe "RUBY_DESCRIPTION" do + it "is a String" do + RUBY_DESCRIPTION.should be_kind_of(String) + end +end + +describe "RUBY_ENGINE" do + it "is a String" do + RUBY_ENGINE.should be_kind_of(String) + end +end + +describe "RUBY_PLATFORM" do + it "is a String" do + RUBY_PLATFORM.should be_kind_of(String) + end +end + +describe "RUBY_RELEASE_DATE" do + it "is a String" do + RUBY_RELEASE_DATE.should be_kind_of(String) + end +end + +describe "RUBY_REVISION" do + it "is a Fixnum" do + RUBY_REVISION.should be_kind_of(Fixnum) + end +end |