Sha256: cd3ca4f09968a6a9c3d78c295f5c308ebc4c8158a1c83cbe7b166118289130b1

Contents?: true

Size: 122 Bytes

Versions: 1

Compression:

Stored size: 122 Bytes

Contents

RSpec::Matchers.define :be_profane do |expected|
  match do |actual|
    Obscenity.profane?(actual) == expected
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
obscenity-1.0.1 lib/obscenity/rspec_matcher.rb