Sha256: 61ad1cdd06057fb3af5db39ccf119b1a7fa2e6bd40b09be6ddaaa7a3bdf9dd28

Contents?: true

Size: 259 Bytes

Versions: 9

Compression:

Stored size: 259 Bytes

Contents

module TestUnit
  class BbqTestGenerator < Rails::Generators::NamedBase
    source_root Bbq.root.join("lib/generators/test_unit/templates")

    def create_test
      template "bbq_test_case.rb", "test/acceptance/#{name.underscore}_test.rb"
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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