Sha256: f9c72685ead875794f5a9301dad54be8d9101d8e659cd1707cd66bdd7f570fb4

Contents?: true

Size: 287 Bytes

Versions: 12

Compression:

Stored size: 287 Bytes

Contents

require 'test_helper'

class <%= class_name %>CellTest < ActionController::TestCase
  include Cells::AssertionsHelper
  
  <% for state in states -%>
  test "<%= state %>" do
    html = render_cell(:<%= file_name %>, :<%= state %>)
    #assert_selekt html, "div"
  end
  
  <% end %>
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
cells-3.3.10 rails_generators/cell/templates/cell_test.rb
cells-3.3.9 rails_generators/cell/templates/cell_test.rb
cells-3.3.8 rails_generators/cell/templates/cell_test.rb
cells-3.3.7 rails_generators/cell/templates/cell_test.rb
cells-3.3.6 rails_generators/cell/templates/cell_test.rb
cells-3.3.5 rails_generators/cell/templates/cell_test.rb
cells-3.4.0.beta2 rails_generators/cell/templates/cell_test.rb
cells-3.4.0.beta1 rails_generators/cell/templates/cell_test.rb
cells-3.3.4 rails_generators/cell/templates/cell_test.rb
cells-3.3.3 rails_generators/cell/templates/cell_test.rb
cells-3.3.2 rails_generators/cell/templates/cell_test.rb
cells-3.3.1 rails_generators/cell/templates/cell_test.rb