spec/swearjar_spec.rb in swearjar-0.0.1 vs spec/swearjar_spec.rb in swearjar-0.0.2

- old
+ new

@@ -4,9 +4,13 @@ it "should detect dirty words" do Swearjar.default.profane?('fuck you jim henson').should be_true end + it "should detect dirty words regardless of case" do + Swearjar.default.profane?('FuCk you jim henson').should be_true + end + it "should not detect non-dirty words" do Swearjar.default.profane?('i love you jim henson').should be_false end it "should give us a scorecard" do \ No newline at end of file