method

test_model_naming

test_model_naming()
public

Passes if the object’s model responds to model_name both as an instance method and as a class method, and if calling this method returns a string with some convenience methods: :human, :singular and :plural.

Check ActiveModel::Naming for more information.