Permalink
Browse files

Hash 1.8.* syntax

  • Loading branch information...
1 parent 9acb110 commit 8cdb9ba9bf126dea62c92401f920b4b75277db4f Harold Giménez committed Feb 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/truncate_html/html_truncator_spec.rb
View
2 spec/truncate_html/html_truncator_spec.rb
@@ -115,7 +115,7 @@ def truncate(html, opts = {})
“我现在使用的是中文的拼音。”<br>
测试一下具体的truncate</em>html功能。</p>"
- result = truncate(html, omission: "", :length => 50)
+ result = truncate(html, :omission => "", :length => 50)
result.should == "<p>“我现在使用的是中文的拼音。”<br> 测试一下具体的truncate<em>html功能。<br> “</em></p>"
end

0 comments on commit 8cdb9ba

Please sign in to comment.