Sha256: fe419fcd18c83c07cc7dc3bc5eab571404c863445b345da0e04fb63ce562d712
Contents?: true
Size: 599 Bytes
Versions: 228
Compression:
Stored size: 599 Bytes
Contents
require File.dirname(__FILE__) + '<%= '/..' * class_nesting_depth %>/../test_helper' class <%= class_name %>Test < ActionMailer::TestCase tests <%= class_name %> <% for action in actions -%> def test_<%= action %> @expected.subject = '<%= class_name %>#<%= action %>' @expected.body = read_fixture('<%= action %>') @expected.date = Time.now assert_equal @expected.encoded, <%= class_name %>.create_<%= action %>(@expected.date).encoded end <% end -%> <% if actions.blank? -%> # replace this with your real tests def test_truth assert true end <% end -%> end
Version data entries
228 entries across 228 versions & 8 rubygems