summaryrefslogtreecommitdiff
path: root/spec/ruby/core/method/source_location_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/method/source_location_spec.rb')
-rw-r--r--spec/ruby/core/method/source_location_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/method/source_location_spec.rb b/spec/ruby/core/method/source_location_spec.rb
index 051739c57d..1f476aaa9b 100644
--- a/spec/ruby/core/method/source_location_spec.rb
+++ b/spec/ruby/core/method/source_location_spec.rb
@@ -16,9 +16,9 @@ describe "Method#source_location" do
file.should == File.realpath('../fixtures/classes.rb', __FILE__)
end
- it "sets the last value to a Fixnum representing the line on which the method was defined" do
+ it "sets the last value to an Integer representing the line on which the method was defined" do
line = @method.source_location.last
- line.should be_an_instance_of(Fixnum)
+ line.should be_an_instance_of(Integer)
line.should == 5
end