Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (13 sloc) 673 Bytes
require "spec_helper"
describe "TextTransform" do
it "can widen text" do
expect(TextTransform.widen("Hello Aaron (@tenderlove)!")).to eq("Hello Aaron (@tenderlove)!")
end
it "can narrowen text" do
expect(TextTransform.narrowen("Hello Aaron (@tenderlove)!")).to eq("Hello Aaron (@tenderlove)!")
end
it "can flip text" do
expect(TextTransform.flip("Hello Aaron (@tenderlove)!")).to eq("¡(ǝʌolɹǝpuǝʇ@) uoɹɐ∀ ollǝH")
expect(TextTransform.flip("¡(ǝʌolɹǝpuǝʇ@) uoɹɐ∀ ollǝH")).to eq("Hello Aaron (@tenderlove)!")
end
end