summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array/prepend_spec.rb
blob: d8c6bad1a8f9e21a70e58c34acc54d567b1c1172 (plain)
1
2
3
4
5
6
7
8
9
require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../fixtures/classes', __FILE__)
require File.expand_path('../shared/unshift', __FILE__)

ruby_version_is "2.5" do
  describe "Array#prepend" do
    it_behaves_like(:array_unshift, :prepend)
  end
end