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