diff options
Diffstat (limited to 'spec/ruby/core/array/index_spec.rb')
| -rw-r--r-- | spec/ruby/core/array/index_spec.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/ruby/core/array/index_spec.rb b/spec/ruby/core/array/index_spec.rb new file mode 100644 index 0000000000..b66cb6eb53 --- /dev/null +++ b/spec/ruby/core/array/index_spec.rb @@ -0,0 +1,7 @@ +require_relative '../../spec_helper' + +describe "Array#index" do + it "is an alias of Array#find_index" do + Array.instance_method(:index).should == Array.instance_method(:find_index) + end +end |
