Sha256: c6fb2353d51ae5afc44a1d343e0edb99af92158d2b2153a47e3623e5d66850f3
Contents?: true
Size: 344 Bytes
Versions: 9
Compression:
Stored size: 344 Bytes
Contents
require 'test_helper' class <%= klass_name -%>Test < Test::Unit::TestCase <%- unless actions.empty? -%> <% actions.each do |meth, path| %> def test_<%= meth %>_<%= path.to_s.gsub(/[^a-z0-9\_]/, '') %>_should <%= meth %> '<%= path %>' end <%- end -%> <%- else -%> def test_my_default get '/' end <%- end -%> end
Version data entries
9 entries across 9 versions & 3 rubygems