Sha256: 72515d8fdca1b62658f56175b5bc34417a6f02910ace9df6deaba277e0c1cd3d
Contents?: true
Size: 338 Bytes
Versions: 12
Compression:
Stored size: 338 Bytes
Contents
require 'salesforce_id' require 'salesforce_id/rspec' require 'rspec/expectations' module ::SalesforceId::RSpec module BeSafeSalesforceIdMatcher extend RSpec::Matchers::DSL matcher :be_safe_salesforce_id do match do |id| SalesforceId.valid?(id) && SalesforceId(id).to_s == id.to_s end end end end
Version data entries
12 entries across 12 versions & 1 rubygems