Sha256: dc460a62b6751b20720cd9dddd4e22e79dd41105ebf95a1415ce07a5b3d7f239
Contents?: true
Size: 689 Bytes
Versions: 1
Compression:
Stored size: 689 Bytes
Contents
require 'spec_helper' describe SwearJar do context "arsehole" do it "is profanity" do SwearJar["profanity"].profane?("arsehole").should be_true end end context "marijuana" do it "is inappropriate" do SwearJar["inappropriate"].profane?("marijuana").should be_true end end context "freaky" do it "is questionable" do SwearJar["questionable"].profane?("freaky").should be_true end end context "offer" do it "is needs review" do SwearJar["needs_review"].profane?("offer").should be_true end end context "death" do it "is assault" do SwearJar["assault"].profane?("death").should be_true end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
zaarly-swearjar-0.2.2 | spec/swearjar_spec.rb |