Sha256: 0814dd9611c86a44cfab75a2fb48c572afbc76d143125aa5585cdd7263885401
Contents?: true
Size: 222 Bytes
Versions: 245
Compression:
Stored size: 222 Bytes
Contents
RSpec::Matchers.define :have_trait do |trait_name| match do |instance| instance.defined_traits.include?(FactoryGirl::Trait.new(trait_name, &@block)) end chain :with_block do |block| @block = block end end
Version data entries
245 entries across 126 versions & 8 rubygems