Sha256: 6aa9f7abbc25ef74f861e78ec0a9e8e8f0bb5ca51c2d8a70d1c98c10499323bf
Contents?: true
Size: 618 Bytes
Versions: 32
Compression:
Stored size: 618 Bytes
Contents
require "spec" require "../src/*" describe "Acronym" do it "does basic" do Acronym.abbreviate("Portable Network Graphics").should eq("PNG") end pending "does lowercase words" do Acronym.abbreviate("Ruby on Rails").should eq("ROR") end pending "does punctuation" do Acronym.abbreviate("First In, First Out").should eq("FIFO") end pending "does all caps word" do Acronym.abbreviate("GNU Image Manipulation Program").should eq("GIMP") end pending "does punctuation without whitespace" do Acronym.abbreviate("Complementary metal-oxide semiconductor").should eq("CMOS") end end
Version data entries
32 entries across 32 versions & 1 rubygems