Exception: FixtureFactory::WrongFixtureMethodError
- Defined in:
- lib/fixture_factory/errors.rb
Instance Method Summary collapse
-
#initialize(method_name) ⇒ WrongFixtureMethodError
constructor
A new instance of WrongFixtureMethodError.
Constructor Details
#initialize(method_name) ⇒ WrongFixtureMethodError
Returns a new instance of WrongFixtureMethodError.
21 22 23 24 25 26 27 28 29 |
# File 'lib/fixture_factory/errors.rb', line 21 def initialize(method_name) super( " No fixture method named \"\#{method_name}\".\n Try using the `via` option in your definition to specify a valid method.\n https://github.com/Shopify/fixture_factory/blob/master/README.md#naming\n MSG\n )\nend\n".squish |