Sha256: f423002dd94c75b42cd7441305789abd3f78aa48682d29693e7213e457d7b116
Contents?: true
Size: 830 Bytes
Versions: 291
Compression:
Stored size: 830 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 camelcase" do Acronym.abbreviate("HyperText Markup Language").should eq("HTML") end pending "does punctuation" do Acronym.abbreviate("First In, First Out").should eq("FIFO") end pending "does all caps words" do Acronym.abbreviate("PHP: Hypertext Preprocessor").should eq("PHP") end pending "does non-acronym all caps word" do Acronym.abbreviate("GNU Image Manipulation Program").should eq("GIMP") end pending "does hyphenated" do Acronym.abbreviate("Complementary metal-oxide semiconductor").should eq("CMOS") end end
Version data entries
291 entries across 291 versions & 1 rubygems