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-rails-0.1.6 lib/rails/generators/test_unit/concept/templates/unit_test.rb.erb
cells-rails-0.1.5 lib/rails/generators/test_unit/concept/templates/unit_test.rb.erb
cells-rails-0.1.4 lib/rails/generators/test_unit/concept/templates/unit_test.rb.erb
cells-rails-0.1.3 lib/rails/generators/test_unit/concept/templates/unit_test.rb.erb
cells-rails-0.1.2 lib/rails/generators/test_unit/concept/templates/unit_test.rb.erb
cells-rails-0.1.1 lib/rails/generators/test_unit/concept/templates/unit_test.rb.erb
cells-rails-0.1.0 lib/rails/generators/test_unit/concept/templates/unit_test.rb.erb
cells-rails-0.0.9 lib/rails/generators/test_unit/concept/templates/unit_test.rb.erb
cells-rails-0.0.8 lib/rails/generators/test_unit/concept/templates/unit_test.rb.erb
cells-rails-0.0.7 lib/rails/generators/test_unit/concept/templates/unit_test.rb.erb
cells-rails-0.0.6 lib/rails/generators/test_unit/concept/templates/unit_test.rb.erb
cells-rails-0.0.5 lib/rails/generators/test_unit/concept/templates/unit_test.rb.erb
cells-rails-0.0.4 lib/rails/generators/test_unit/concept/templates/unit_test.rb.erb
cells-rails-0.0.3 lib/rails/generators/test_unit/concept/templates/unit_test.rb.erb
cells-4.0.5 lib/rails/generators/test_unit/concept/templates/unit_test.rb.erb
cells-4.0.4 lib/rails/generators/test_unit/concept/templates/unit_test.rb.erb
cells-4.0.3 lib/rails/generators/test_unit/concept/templates/unit_test.rb.erb
cells-4.0.2 lib/rails/generators/test_unit/concept/templates/unit_test.rb.erb
cells-4.0.1 lib/rails/generators/test_unit/concept/templates/unit_test.rb.erb
cells-4.0.0 lib/rails/generators/test_unit/concept/templates/unit_test.rb.erb