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