summaryrefslogtreecommitdiff
path: root/spec/ruby/core/integer/constants_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/integer/constants_spec.rb')
-rw-r--r--spec/ruby/core/integer/constants_spec.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/spec/ruby/core/integer/constants_spec.rb b/spec/ruby/core/integer/constants_spec.rb
new file mode 100644
index 0000000000..937806c72f
--- /dev/null
+++ b/spec/ruby/core/integer/constants_spec.rb
@@ -0,0 +1,13 @@
+require_relative '../../spec_helper'
+
+describe "Fixnum" do
+ it "is no longer defined" do
+ Object.should_not.const_defined?(:Fixnum)
+ end
+end
+
+describe "Bignum" do
+ it "is no longer defined" do
+ Object.should_not.const_defined?(:Bignum)
+ end
+end
.rb?id=287a34ae0dfc23e4158f67cb7783d239f202c368'>* {ext,lib,test}/**/*.rb: removed trailing spaces.nobu 2009-02-12* test/stringio/test_stringio.rb (test_ungetc_pos): added.nobu 2008-12-27* vm_insnhelper.c (vm_call_method, vm_call_cfunc): use original id instead ofko1 2008-06-11* ext/stringio/stringio.c (strio_init): rewind when reopened.mame 2008-06-05* test/stringio/test_stringio.rb: add tests to achieve over 95% testmame 2008-05-12add tests for [ruby-dev:34591].akr 2007-11-18use ML ref. for assertion message.akr 2004-11-29* ext/stringio/stringio.c (strio_write): insufficiently filled stringnobu 2004-09-08* ext/stringio/stringio.c (strio_write): zero fill a gap if exsts.nobu 2004-09-07add test for [ruby-dev:24060], [ruby-dev:24065], [ruby-dev:24103],akr 2003-12-10* ext/stringio/stringio.c (strio_read): adjust behavior at readingnobu 2003-12-09ditto.akr 2003-12-05* ext/stringio/stringio.c (strio_read): follow IO#read.nobu 2003-11-18* test/stringio/test_stringio.rb: imported from [ruby-dev:21941].nobu