Sha256: 3fe0a25ec34dc3595ce1ca76634a8c8f7164b64f78116c392adff8ede3a618fd

Contents?: true

Size: 230 Bytes

Versions: 5

Compression:

Stored size: 230 Bytes

Contents

require 'test_helper'

class <%= class_name %>WidgetTest < Apotomo::TestCase
  has_widgets do |root|
    root << widget(:<%= file_name %>, 'me')
  end
  
  test "display" do
    render_widget 'me'
    assert_select "h1"
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
apotomo-1.1.3 lib/generators/templates/widget_test.rb
apotomo-1.1.2 lib/generators/templates/widget_test.rb
apotomo-1.1.1 lib/generators/templates/widget_test.rb
apotomo-1.1.0 lib/generators/templates/widget_test.rb
apotomo-1.1.0.rc1 lib/generators/templates/widget_test.rb