Sha256: 1d66863b8e527464a1db7522c2092269d646a872d021995cde06daf6f730dd48

Contents?: true

Size: 195 Bytes

Versions: 6

Compression:

Stored size: 195 Bytes

Contents

require 'test_helper'

class <%= class_name %>CellTest < Cell::TestCase
<% states.each do |state| -%>
  test "<%= state %>" do
    invoke :<%= state %>
    assert_select 'p'
  end

<% end %>
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
cells-4.0.0.beta5 lib/rails/generators/test_unit/cell/templates/unit_test.rb.erb
cells-4.0.0.beta4 lib/rails/generators/test_unit/cell/templates/unit_test.rb.erb
cells-4.0.0.beta3 lib/rails/generators/test_unit/cell/templates/unit_test.rb.erb
cells-4.0.0.beta2 lib/rails/generators/test_unit/cell/templates/unit_test.rb.erb
cells-4.0.0.beta1 lib/rails/generators/test_unit/cell/templates/unit_test.rb.erb
cells-jamie-4.0.0.alpha1 lib/rails/generators/test_unit/cell/templates/unit_test.rb.erb