Sha256: 47c70f3b40733b47ad0a255676532123383d1cab6a6a32af3c477e1f06c2a0d3

Contents?: true

Size: 598 Bytes

Versions: 7

Compression:

Stored size: 598 Bytes

Contents

require 'merb/generators/merb_generator_helpers'
class MerbModelTestGenerator < Merb::GeneratorHelpers::MerbModelTestGenerator
  
  def initialize( *args )
    super( *args )
    @model_test_template_name = "model_test_unit_template.erb"
    @model_test_path_name = File.join( "test", "unit" )
    @model_test_file_suffix = "test"
  end
  
    def banner
            <<-EOS
Creates a model Test::Unit stub for use in Merb

USAGE: #{$0} #{spec.name} NameOfModel
Example:
  #{$0} #{spec.name} project


      EOS
    end
  
  def self.superclass
    RubiGen::Base
  end
end

class MerbTesterThing
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
merb-0.4.1 test_unit_generators/merb_model_test/merb_model_test_generator.rb
merb-0.4.0 test_unit_generators/merb_model_test/merb_model_test_generator.rb
merb-0.4.2 test_unit_generators/merb_model_test/merb_model_test_generator.rb
merb-0.5.0 test_unit_generators/merb_model_test/merb_model_test_generator.rb
merb-0.5.1 test_unit_generators/merb_model_test/merb_model_test_generator.rb
merb-0.5.2 test_unit_generators/merb_model_test/merb_model_test_generator.rb
merb-0.5.3 test_unit_generators/merb_model_test/merb_model_test_generator.rb