Sha256: cdf99ee97289c7593ed1210894f6d2fcc7e3888cf8e6e98d309fcf6963a8185f
Contents?: true
Size: 456 Bytes
Versions: 29
Compression:
Stored size: 456 Bytes
Contents
require 'test_helper' <% module_namespacing do -%> class <%= class_name %>ControllerTest < ActionController::TestCase <% if mountable_engine? -%> setup do @routes = Engine.routes end <% end -%> <% if actions.empty? -%> # test "the truth" do # assert true # end <% else -%> <% actions.each do |action| -%> test "should get <%= action %>" do get :<%= action %> assert_response :success end <% end -%> <% end -%> end <% end -%>
Version data entries
29 entries across 29 versions & 5 rubygems