fix specs to account for 1.8/1.9 differences in Array#to_s

in Ruby 1.8 Array#to_s is basically an alias for #join, but in 1.9 it changed
to an alias for #inspect.  Since 1.9 is the more common and supported ruby
version, this always change uses #inspect for arrays.