Sha256: d610b69c1d877f608c73b2a1146c0a789f7038ee3575ba16cf2a1dc5826b491c
Contents?: true
Size: 527 Bytes
Versions: 2
Compression:
Stored size: 527 Bytes
Contents
require 'spec/spec_helper' describe Pedantic::Emoticons do it "replaces :) with smile" do Pedantic.fix('foo :)').should == 'foo smile' end it "replaces :( with sad" do Pedantic.fix('foo :(').should == 'foo sad' end it "replaces :D with happy" do Pedantic.fix('foo :D').should == 'foo happi' end it "replaces :S and :s with unsure" do Pedantic.fix('foo :S :s').should == 'foo unsur unsur' end it "replaces ;) with joke" do Pedantic.fix('foo ;)').should == 'foo joke' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pedantic-0.1.1 | spec/pedantic/emoticons_spec.rb |
pedantic-0.1.0 | spec/pedantic/emoticons_spec.rb |