Module: Phillumeny::FactoryBot
- Defined in:
- lib/phillumeny/factory_bot.rb
Overview
Matchers for supporting the validation of factories along with their traits and build strategies
Defined Under Namespace
Classes: HaveAValidFactory
Instance Method Summary collapse
-
#have_a_valid_factory(name = nil) ⇒ Object
rubocop:disable PredicateName.
Instance Method Details
#have_a_valid_factory(name = nil) ⇒ Object
rubocop:disable PredicateName
12 13 14 |
# File 'lib/phillumeny/factory_bot.rb', line 12 def have_a_valid_factory(name = nil) HaveAValidFactory.new(name) end |