summaryrefslogtreecommitdiff
path: root/spec/unit/parser/functions/sort_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/parser/functions/sort_spec.rb')
-rw-r--r--spec/unit/parser/functions/sort_spec.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/unit/parser/functions/sort_spec.rb b/spec/unit/parser/functions/sort_spec.rb
index da5db7a..fbe3073 100644
--- a/spec/unit/parser/functions/sort_spec.rb
+++ b/spec/unit/parser/functions/sort_spec.rb
@@ -23,4 +23,9 @@ describe "the sort function" do
result.should(eq(['a','b','c']))
end
+ it "should sort a string" do
+ result = @scope.function_sort(["acb"])
+ result.should(eq('abc'))
+ end
+
end