Sha256: d6987e1cbb0ef2b6d40813e2f7902a6b83d83e361b4dfea40cf5aee9fcbf88d9
Contents?: true
Size: 698 Bytes
Versions: 1
Compression:
Stored size: 698 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.1 | spec/swearjar_spec.rb |