spec/string_spec.rb in dionysus-0.2.0 vs spec/string_spec.rb in dionysus-0.2.1

- old
+ new

@@ -13,14 +13,15 @@ it "should decode64" do "YWJjZGWgejQwNQ==".decode64.should == "abcde\240z405" "YWJjZGWgejQwNQ==\n".decode64.should == "abcde\240z405" end - it "should encodeHex" do - "abcde\240z405".encodeHex.should == "6162636465a07a343035" - "abcde\240z405".encodeHexidecimal.should == "6162636465a07a343035" + it "should encode_hex" do + "abcde\240z405".encode_hex.should == "6162636465a07a343035" + "abcde\240z405".encode_hexidecimal.should == "6162636465a07a343035" end - it "should decodeHex" do - '6162636465a07a343035'.decodeHexidecimal.should == "abcde\240z405" + it "should decode_hex" do + '6162636465a07a343035'.decode_hex.should == "abcde\240z405" + '6162636465a07a343035'.decode_hexidecimal.should == "abcde\240z405" end end \ No newline at end of file