summaryrefslogtreecommitdiff
path: root/spec/ruby/core/string/ord_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/string/ord_spec.rb')
-rw-r--r--spec/ruby/core/string/ord_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/string/ord_spec.rb b/spec/ruby/core/string/ord_spec.rb
index 0f5a3f6a37..cfc630a124 100644
--- a/spec/ruby/core/string/ord_spec.rb
+++ b/spec/ruby/core/string/ord_spec.rb
@@ -1,8 +1,8 @@
require_relative '../../spec_helper'
describe "String#ord" do
- it "returns a Fixnum" do
- 'a'.ord.should be_an_instance_of(Fixnum)
+ it "returns an Integer" do
+ 'a'.ord.should be_an_instance_of(Integer)
end
it "returns the codepoint of the first character in the String" do