Sha256: ecb07aa411cf34d7429d24a0545f6b593672567b98c954238b1d483d4afb7245
Contents?: true
Size: 825 Bytes
Versions: 5
Compression:
Stored size: 825 Bytes
Contents
models_directory: type: directory output_path: <%= File.join("app", "models") %> model_template: type: file template_path: <%= File.join(templates_directory_path, "model.rb.template") %> output_path: <%= File.join("app", "models", "#{param(:name).singular.underscore}.rb") %> <% if app_config.mack.testing_framework == "test_case" -%> test_template: type: file template_path: <%= File.join(templates_directory_path, "test_case.rb.template") %> output_path: <%= File.join("test", "unit", "#{param(:name).singular.underscore}_test.rb") %> <% elsif app_config.mack.testing_framework == "rspec" -%> test_template: type: file template_path: <%= File.join(templates_directory_path, "rspec.rb.template") %> output_path: <%= File.join("test", "unit", "#{param(:name).singular.underscore}_spec.rb") %> <% end -%>
Version data entries
5 entries across 5 versions & 1 rubygems