Sha256: ee3e12ec769b64778936f1155bdea2fb22a8f3e625194aee0eb8c0ff5765bf7d

Contents?: true

Size: 349 Bytes

Versions: 23

Compression:

Stored size: 349 Bytes

Contents

require 'generators/cells/base'

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

      def create_test
        @states = actions
        template 'cell_test.rb', File.join('test/cells/', "#{file_name}_cell_test.rb")
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
cells-3.8.5 lib/generators/test_unit/cell_generator.rb
cells-3.8.4 lib/generators/test_unit/cell_generator.rb
cells-3.8.3 lib/generators/test_unit/cell_generator.rb
cells-3.8.2 lib/generators/test_unit/cell_generator.rb
cells-3.8.1 lib/generators/test_unit/cell_generator.rb
cells-3.8.0 lib/generators/test_unit/cell_generator.rb
cells-3.7.1 lib/generators/test_unit/cell_generator.rb
cells-3.7.0 lib/generators/test_unit/cell_generator.rb
cells-3.6.7 lib/generators/test_unit/cell_generator.rb
cells-3.6.6 lib/generators/test_unit/cell_generator.rb
cells-3.6.5 lib/generators/test_unit/cell_generator.rb
cells-3.6.4 lib/generators/test_unit/cell_generator.rb
cells-3.6.3 lib/generators/test_unit/cell_generator.rb
cells-3.6.2 lib/generators/test_unit/cell_generator.rb
cells-3.6.1 lib/generators/test_unit/cell_generator.rb
cells-3.6.0 lib/generators/test_unit/cell_generator.rb
cells-3.5.6 lib/generators/test_unit/cell_generator.rb
cells-3.5.5 lib/generators/test_unit/cell_generator.rb
cells-3.5.4 lib/generators/test_unit/cell_generator.rb
cells-3.5.2 lib/generators/test_unit/cell_generator.rb