Sha256: b0c5f1ef8c6c5c6142d13bfe99c744f78005a984dd079eec3006bec5f6f0b4d9
Contents?: true
Size: 420 Bytes
Versions: 10
Compression:
Stored size: 420 Bytes
Contents
require File.join(File.dirname(__FILE__), "..", "test_helper.rb") class <%= @name_plural_camel %>ControllerTest < Test::Unit::TestCase def test_truth assert true end <% @actions.each do |action| %> def test_<%= action %> get <%= @name_plural %>_<%= action %>_url assert response.successful? assert_match /<%= @name_plural_camel %>Controller#<%= action %>/, response.body end <% end %> end
Version data entries
10 entries across 10 versions & 1 rubygems