Sha256: b5ec2f057c37217963f1e8b4d1012d59b9354692dedb8eb6c44540a7ee84f899

Contents?: true

Size: 361 Bytes

Versions: 11

Compression:

Stored size: 361 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/', class_path, "#{file_name}_cell_test.rb")
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
cells-3.11.3 lib/generators/test_unit/cell_generator.rb
cells-3.11.2 lib/generators/test_unit/cell_generator.rb
cells-3.11.1 lib/generators/test_unit/cell_generator.rb
cells-3.11.0 lib/generators/test_unit/cell_generator.rb
cells-3.10.1 lib/generators/test_unit/cell_generator.rb
cells-3.10.0 lib/generators/test_unit/cell_generator.rb
cells-3.9.1 lib/generators/test_unit/cell_generator.rb
cells-3.9.0 lib/generators/test_unit/cell_generator.rb
cells-3.8.8 lib/generators/test_unit/cell_generator.rb
cells-3.8.7 lib/generators/test_unit/cell_generator.rb
cells-3.8.6 lib/generators/test_unit/cell_generator.rb