Sha256: 36309812a0340433a575b89b3829151c61a48bd417b337395d263e2d44c21cff
Contents?: true
Size: 915 Bytes
Versions: 2
Compression:
Stored size: 915 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 configatron.mack.testing_framework.to_s == "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 configatron.mack.testing_framework.to_s == "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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mack-0.8.3.1 | lib/mack/generators/controller_helper_generator/manifest.yml |
mack-0.8.3 | lib/mack/generators/controller_helper_generator/manifest.yml |