Sha256: 7558aead5d18c395aed10af19e1755e1133145cba4b86f4fdae47a09b959b29d
Contents?: true
Size: 490 Bytes
Versions: 5
Compression:
Stored size: 490 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' describe VoteSmart::Rating do describe ".get_sig" do it "should properly handle UTF characters" do VoteSmart::Rating.get_sig('1863')['sig']['description'].unpack("U*").should_not include(148) end it "shouldn't have a quoted description" do description = VoteSmart::Rating.get_sig('1863')['sig']['description'] description.first.should_not == '"' description.last.should_not == '"' end end end
Version data entries
5 entries across 5 versions & 1 rubygems