spec/collation_spec.rb in ffi-icu-0.1.2 vs spec/collation_spec.rb in ffi-icu-0.1.3

- old
+ new

@@ -53,8 +53,14 @@ it "should know if a string is equal to another" do collator.should be_equal("a", "a") collator.should_not be_equal("a", "b") end + it "should return rules" do + collator.rules.should_not be_empty + # ö sorts before Ö + collator.rules.include?('ö<<<Ö').should be_true + end + end end # Collate end # ICU