spec/permalink/string_spec.rb in permalink-1.1.1 vs spec/permalink/string_spec.rb in permalink-1.1.2

- old
+ new

@@ -7,11 +7,13 @@ '////// meph1sto r0x ! \\\\\\' => 'meph1sto-r0x', 'āčēģīķļņū' => 'acegiklnu', '中文測試 chinese text' => 'chinese-text', 'some-)()()-ExtRa!/// .data==?> to \/\/test' => 'some-extra-data-to-test', 'http://simplesideias.com.br/tags/' => 'http-simplesideias-com-br-tags', - "Don't Repeat Yourself (DRY)" => 'don-t-repeat-yourself-dry', - "Text\nwith\nline\n\n\tbreaks" => 'text-with-line-breaks' + "Don't Repeat Yourself (DRY)" => 'dont-repeat-yourself-dry', + "Text\nwith\nline\n\n\tbreaks" => 'text-with-line-breaks', + "can't do it" => "cant-do-it", + "i'm a dog" => "im-a-dog" } it "should create permalink using to_permalink" do SAMPLES.each do |from, to| from.to_permalink.should == to