Permalink
Browse files

split up rb_ary_reverse specs

  • Loading branch information...
tmm1 committed Mar 25, 2011
1 parent 596adbb commit e906a2ef9ae7ea8ca870a655b31be39838125b1b
Showing with 6 additions and 1 deletion.
  1. +6 −1 spec/ruby/optional/capi/array_spec.rb
@@ -80,9 +80,14 @@
describe "rb_ary_reverse" do
it "reverses the order of elements in the array" do
a = [1,2,3]
@s.rb_ary_reverse(a).should equal(a)
@s.rb_ary_reverse(a)
a.should == [3,2,1]
end
it "returns the original array" do
a = [1,2,3]
@s.rb_ary_reverse(a).should equal(a)
end
end
describe "rb_ary_entry" do

0 comments on commit e906a2e

Please sign in to comment.