class FixtureFactory::NotFoundError

Raised when a factory is referenced, but not defined.

Public Class Methods

new(fixture_name) click to toggle source
Calls superclass method
# File lib/fixture_factory/errors.rb, line 9
    def initialize(fixture_name)
      super(
        <<~MSG.squish
          No factory named "#{fixture_name}".
          Did you forget to define it?
          https://github.com/Shopify/fixture_factory/blob/master/README.md#definition
        MSG
      )
    end