diff options
author | Ken Barber <ken@bob.sh> | 2011-07-30 00:44:02 +0100 |
---|---|---|
committer | Ken Barber <ken@bob.sh> | 2011-07-30 00:44:02 +0100 |
commit | 35fefe186546427963d8c8a446fa98875d65ccad (patch) | |
tree | 9986ea2c264ce50c35f856218c8d26bb8c6872bd /spec/unit/parser/functions | |
parent | a1cae426f1d6b8f2c19184ec8aac3ebc47d97744 (diff) |
Fix some ruby 1.9.2 issues.
Diffstat (limited to 'spec/unit/parser/functions')
-rw-r--r-- | spec/unit/parser/functions/shuffle_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/parser/functions/shuffle_spec.rb b/spec/unit/parser/functions/shuffle_spec.rb index 936c2fd..f04fda5 100644 --- a/spec/unit/parser/functions/shuffle_spec.rb +++ b/spec/unit/parser/functions/shuffle_spec.rb @@ -25,7 +25,7 @@ describe "the shuffle function" do it "should shuffle a string but the sorted contents should still be the same" do result = @scope.function_shuffle(["adfs"]) - result.split("").sort.to_s.should(eq("adfs")) + result.split("").sort.join("").should(eq("adfs")) end end |