Sha256: 2cfeb71258c95ddb7789638153f011f94fb8171bcd13e4ba20f794abcb014378

Contents?: true

Size: 369 Bytes

Versions: 12

Compression:

Stored size: 369 Bytes

Contents

require 'generators/cells/base'

module TestUnit
  module Generators
    class WidgetGenerator < ::Cells::Generators::Base
      source_root File.expand_path('../../templates', __FILE__)

      def create_test
        @states = actions
        template 'widget_test.rb', File.join('test/widgets/', class_path, "#{file_name}_widget_test.rb")
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
apotomo-1.3.2 lib/generators/test_unit/widget_generator.rb
apotomo-1.3.1 lib/generators/test_unit/widget_generator.rb
apotomo-1.3.0 lib/generators/test_unit/widget_generator.rb
apotomo-1.2.6 lib/generators/test_unit/widget_generator.rb
apotomo-1.2.5 lib/generators/test_unit/widget_generator.rb
apotomo-1.2.4 lib/generators/test_unit/widget_generator.rb
apotomo-1.2.3 lib/generators/test_unit/widget_generator.rb
apotomo-1.2.2 lib/generators/test_unit/widget_generator.rb
apotomo-1.2.1 lib/generators/test_unit/widget_generator.rb
apotomo-1.2.0 lib/generators/test_unit/widget_generator.rb
apotomo-1.1.4 lib/generators/test_unit/widget_generator.rb
apotomo-1.1.3 lib/generators/test_unit/widget_generator.rb