Sha256: 4a6dc92ed62d0777caa0d2b94a0792139a93d203450ca85a4cc54dd5299d25f5
Contents?: true
Size: 400 Bytes
Versions: 1
Compression:
Stored size: 400 Bytes
Contents
require File.dirname(__FILE__) + '<%= '/..' * class_nesting_depth %>/../test_helper' class <%= class_name %>Test < ActiveSupport::TestCase # Replace this with your real tests. test "should be true" do assert true end # assert message passes our validations #def test_validates # assert_validates :<%= file_name %> # assert_not_validates :<%= file_name %>_incorrect #end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
adaptation-1.0.1 | lib/rails_generator/generators/components/message/templates/unit_test.rb |