Sha256: 7e228d534499271a0fb426ae8d257a8f8de33b68e83facbe62b385da9fc66a6a
Contents?: true
Size: 454 Bytes
Versions: 2
Compression:
Stored size: 454 Bytes
Contents
module TestUnit class BbqInstallGenerator < Rails::Generators::Base source_root File.expand_path(File.join(File.dirname(__FILE__), '../test_unit/templates')) def create_directory empty_directory "test/acceptance" end def generate_test_user empty_directory "test/support" template "test_user.rb", "test/support/test_user.rb" end def show_readme readme "README" if behavior == :invoke end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bbq-rails-0.4.0 | lib/generators/test_unit/bbq_install_generator.rb |
bbq-rails-0.3.0 | lib/generators/test_unit/bbq_install_generator.rb |