Sha256: 0746505f1210dc5e5d09a915c54a1aedf969ad453c8a2e7a01d7e62413989a3c
Contents?: true
Size: 903 Bytes
Versions: 4
Compression:
Stored size: 903 Bytes
Contents
helper_template: type: file template_path: <%= File.join(templates_directory_path, "app", "helpers", "controllers", "helper.rb.template") %> output_path: <%= File.join("app", "helpers", "controllers", "#{@name_plural}_controller_helper.rb") %> <% if app_config.mack.testing_framework == "test_case" -%> helper_test_template: type: file template_path: <%= File.join(templates_directory_path, "test", "helpers", "controllers", "test_case.rb.template") %> output_path: <%= File.join("test", "helpers", "controllers", "#{@name_plural}_controller_helper_test.rb") %> <% elsif app_config.mack.testing_framework == "rspec" -%> helper_test_template: type: file template_path: <%= File.join(templates_directory_path, "test", "helpers", "controllers", "rspec.rb.template") %> output_path: <%= File.join("test", "helpers", "controllers", "#{@name_plural}_controller_helper_spec.rb") %> <% end -%>
Version data entries
4 entries across 4 versions & 1 rubygems