Exception: FixtureFactory::WrongClassError

Inherits:
Error
  • Object
show all
Defined in:
lib/fixture_factory/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(class_name) ⇒ WrongClassError

Returns a new instance of WrongClassError.



33
34
35
36
37
38
39
40
41
# File 'lib/fixture_factory/errors.rb', line 33

def initialize(class_name)
  super(
    "      No class named \"\#{class_name}\".\n      Try using the `class` option in your definition to specify a valid class name.\n      https://github.com/Shopify/fixture_factory/blob/master/README.md#naming\n    MSG\n  )\nend\n".squish