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