class FixtureFactory::WrongFixtureMethodError

Public Class Methods

new(method_name) click to toggle source
Calls superclass method
# File lib/fixture_factory/errors.rb, line 21
    def initialize(method_name)
      super(
        <<~MSG.squish
          No fixture method named "#{method_name}".
          Try using the `via` option in your definition to specify a valid method.
          https://github.com/Shopify/fixture_factory/blob/master/README.md#naming
        MSG
      )
    end