It appears to duplicate implementation. Perhaps this can do:
array2.each do |s2|
array1.should be_any do |s1|
s1.include s2
end
end
Or use zip instead
Sent from my BlackBerry® smartphone from Sinyal Bagus XL, Nyambung Teruuusss...!
-----Original Message-----
From: Ervin Weber <[email protected]>
Sender: [email protected]
Date: Thu, 28 Feb 2013 08:35:36
To: rspec-users<[email protected]>
Reply-To: rspec-users <[email protected]>
Subject: Re: [rspec-users] Simular to Include
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users