Sha256: 7090f68de0b12730df785027e8c26deae4b23a155a6bf4fcc38ae11f27806fb0

Contents?: true

Size: 428 Bytes

Versions: 9

Compression:

Stored size: 428 Bytes

Contents

module TestUnit
  class BbqInstallGenerator < Rails::Generators::Base
    source_root Bbq.root.join("lib/generators/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

9 entries across 9 versions & 1 rubygems

Version Path
bbq-0.2.1 lib/generators/test_unit/bbq_install_generator.rb
bbq-0.2.0 lib/generators/test_unit/bbq_install_generator.rb
bbq-0.1.0 lib/generators/test_unit/bbq_install_generator.rb
bbq-0.0.4 lib/generators/test_unit/bbq_install_generator.rb
bbq-0.0.3 lib/generators/test_unit/bbq_install_generator.rb
bbq-0.0.2 lib/generators/test_unit/bbq_install_generator.rb
bbq-0.0.2.beta.3 lib/generators/test_unit/bbq_install_generator.rb
bbq-0.0.2.beta.2 lib/generators/test_unit/bbq_install_generator.rb
bbq-0.0.2.beta.1 lib/generators/test_unit/bbq_install_generator.rb