diff options
Diffstat (limited to 'spec/ruby/core/range/last_spec.rb')
-rw-r--r-- | spec/ruby/core/range/last_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/range/last_spec.rb b/spec/ruby/core/range/last_spec.rb index 581e04f785..c3b3c73e98 100644 --- a/spec/ruby/core/range/last_spec.rb +++ b/spec/ruby/core/range/last_spec.rb @@ -2,7 +2,7 @@ require File.expand_path('../../../spec_helper', __FILE__) require File.expand_path('../shared/end', __FILE__) describe "Range#last" do - it_behaves_like(:range_end, :last) + it_behaves_like :range_end, :last it "returns the specified number of elements from the end" do (1..5).last(3).should == [3, 4, 5] |