Sha256: 76577c8aab3af3ff16298379b31ab33da210d15f7db1199aa17dba7f7808c3de
Contents?: true
Size: 228 Bytes
Versions: 22
Compression:
Stored size: 228 Bytes
Contents
require 'test_helper' class <%= class_name %>CellTest < Cell::TestCase <% states.each do |state| -%> test "<%= state %>" do html = cell("<%= file_name %>").(:<%= state %>) assert html.match /<p>/ end <% end %> end
Version data entries
22 entries across 22 versions & 2 rubygems
Version | Path |
---|---|
cells-4.0.0.rc1 | lib/rails/generators/test_unit/cell/templates/unit_test.rb.erb |
cells-4.0.0.beta6 | lib/rails/generators/test_unit/cell/templates/unit_test.rb.erb |