Sha256: 3a31cb01adfb5d88494e89b2f28c9267454b5911d7c08c205d418c020dcfc3c0
Contents?: true
Size: 840 Bytes
Versions: 4
Compression:
Stored size: 840 Bytes
Contents
helper_template: type: file template_path: <%= File.join(templates_directory_path, "app", "helpers", "views", "helper.rb.template") %> output_path: <%= File.join("app", "helpers", "views", "#{@name_singular}_helper.rb") %> <% if app_config.mack.testing_framework == "test_case" -%> helper_test_template: type: file template_path: <%= File.join(templates_directory_path, "test", "helpers", "views", "test_case.rb.template") %> output_path: <%= File.join("test", "helpers", "views", "#{@name_singular}_helper_test.rb") %> <% elsif app_config.mack.testing_framework == "rspec" -%> helper_test_template: type: file template_path: <%= File.join(templates_directory_path, "test", "helpers", "views", "rspec.rb.template") %> output_path: <%= File.join("test", "helpers", "views", "#{@name_singular}_helper_spec.rb") %> <% end -%>
Version data entries
4 entries across 4 versions & 1 rubygems