Sha256: 51cb8f0e622ed3d54e9b94bde1ad54db909155f4e2fe5b80f72ea60429a4bad7

Contents?: true

Size: 239 Bytes

Versions: 22

Compression:

Stored size: 239 Bytes

Contents

require 'test_helper'

class <%= class_name %>ConceptTest < Cell::TestCase
<% states.each do |state| -%>
  test "<%= state %>" do
    html = concept("<%= file_name %>/cell").(:<%= 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/concept/templates/unit_test.rb.erb
cells-4.0.0.beta6 lib/rails/generators/test_unit/concept/templates/unit_test.rb.erb