Sha256: 059ab6f48ea5dabe78d2799a7207fcfee030ea57be55f8fba314c51b6cfc5f91

Contents?: true

Size: 224 Bytes

Versions: 6

Compression:

Stored size: 224 Bytes

Contents

require 'test_helper'

class <%= class_name %>Test < 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

6 entries across 6 versions & 1 rubygems

Version Path
apotomo-1.0.5 lib/generators/apotomo/templates/widget_test.rb
apotomo-1.0.4 lib/generators/apotomo/templates/widget_test.rb
apotomo-1.0.3 lib/generators/apotomo/templates/widget_test.rb
apotomo-1.0.2 lib/generators/apotomo/templates/widget_test.rb
apotomo-1.0.1 lib/generators/apotomo/templates/widget_test.rb
apotomo-1.0.0 lib/generators/apotomo/templates/widget_test.rb