method
fixture_name
v4.2.7 -
Show latest stable
- Class:
TestUnit::Generators::ScaffoldGenerator
fixture_name()public
No documentation available.
# File railties/lib/rails/generators/test_unit/scaffold/scaffold_generator.rb, line 18
def fixture_name
@fixture_name ||=
if mountable_engine?
"%s_%s" % [namespaced_path, table_name]
else
table_name
end
end