Sha256: 7e87f241e876b6361f97af1b2705f05e53c5691b60e6c8d317b8c65ecf469a96
Contents?: true
Size: 283 Bytes
Versions: 1
Compression:
Stored size: 283 Bytes
Contents
class <%= camelize name %>Test < TestCase def setup <%= module_name %>::<%= camelize name %>.delete_all end def test_title <%= name %> = <%= module_name %>::<%= camelize name %>.new <%= name %>.title = 'hello' assert_equal 'hello', <%= name %>.title end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
apimaster-0.0.3 | lib/apimaster/generators/templates/test/unit/example_test.rb.erb |