diff options
Diffstat (limited to 'spec/ruby/core/array/last_spec.rb')
-rw-r--r-- | spec/ruby/core/array/last_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/array/last_spec.rb b/spec/ruby/core/array/last_spec.rb index 871f4a2352..9bf8648776 100644 --- a/spec/ruby/core/array/last_spec.rb +++ b/spec/ruby/core/array/last_spec.rb @@ -53,7 +53,7 @@ describe "Array#last" do array.last.should equal(array) end - it "tries to convert the passed argument to an Integer usinig #to_int" do + it "tries to convert the passed argument to an Integer using #to_int" do obj = mock('to_int') obj.should_receive(:to_int).and_return(2) [1, 2, 3, 4, 5].last(obj).should == [4, 5] |