spec/taza/array_spec.rb in taza-0.9.2.1 vs spec/taza/array_spec.rb in taza-1.0

- old
+ new

@@ -1,17 +1,17 @@ require 'spec_helper' require 'extensions/array' describe 'Array Extensions' do it "should know if elements are not equivalent to a subset of those elements" do - [1,2,3].should_not be_equivalent([2,3]) + expect([1,2,3]).to_not be_equivalent [2,3] end it "should know if elements are not equivalent to a larger set including those elements" do - [1,2,3].should_not be_equivalent([1,2,3,4]) + expect([1,2,3]).to_not be_equivalent [1,2,3,4] end it "should know it is equivalent if the same order" do - [1,2,3].should be_equivalent([1,2,3]) + expect([1,2,3]).to be_equivalent [1,2,3] end it "should know it is equivalent if the different orders" do - [1,2,3].should be_equivalent([2,1,3]) + expect([1,2,3]).to be_equivalent [2,1,3] end end