Misunderstood examples. Array1.collect{|s| s.split ('/').last}.should == array2 seems closer to your intent.
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users