Sha256: c0c56346aa76690bb9779327ce290a5124ece124578806708ecb038bd35fd7c8
Contents?: true
Size: 368 Bytes
Versions: 1
Compression:
Stored size: 368 Bytes
Contents
require 'test_helper' <% module_namespacing do -%> class <%= class_name %>ControllerTest < ActionController::TestCase <% if actions.empty? -%> # test "the truth" do # assert true # end <% else -%> <% for action in actions -%> test "should get <%= action %>" do get :<%= action %> assert_response :success end <% end -%> <% end -%> end <% end -%>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
railties-3.1.0.beta1 | lib/rails/generators/test_unit/controller/templates/functional_test.rb |