Sha256: 51c8c5d3ad691610899f0629a8f44966250e1c5be6988f5cd0a7b469f3f88083

Contents?: true

Size: 408 Bytes

Versions: 37

Compression:

Stored size: 408 Bytes

Contents

require "test_helper"
require "<%= generator_path %>"

<% module_namespacing do -%>
class <%= class_name %>GeneratorTest < Rails::Generators::TestCase
  tests <%= class_name %>Generator
  destination Rails.root.join('tmp/generators')
  setup :prepare_destination

  # test "generator runs without errors" do
  #   assert_nothing_raised do
  #     run_generator ["arguments"]
  #   end
  # end
end
<% end -%>

Version data entries

37 entries across 37 versions & 4 rubygems

Version Path
railties-6.1.7.10 lib/rails/generators/test_unit/generator/templates/generator_test.rb.tt
railties-6.1.7.9 lib/rails/generators/test_unit/generator/templates/generator_test.rb.tt
railties-6.1.7.8 lib/rails/generators/test_unit/generator/templates/generator_test.rb.tt
railties-6.1.7.7 lib/rails/generators/test_unit/generator/templates/generator_test.rb.tt
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/railties-6.1.6.1/lib/rails/generators/test_unit/generator/templates/generator_test.rb.tt
railties-6.1.7.6 lib/rails/generators/test_unit/generator/templates/generator_test.rb.tt
railties-6.1.7.5 lib/rails/generators/test_unit/generator/templates/generator_test.rb.tt
railties-6.1.7.4 lib/rails/generators/test_unit/generator/templates/generator_test.rb.tt
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/railties-6.1.6.1/lib/rails/generators/test_unit/generator/templates/generator_test.rb.tt
railties-6.1.7.3 lib/rails/generators/test_unit/generator/templates/generator_test.rb.tt
railties-6.1.7.2 lib/rails/generators/test_unit/generator/templates/generator_test.rb.tt
railties-6.1.7.1 lib/rails/generators/test_unit/generator/templates/generator_test.rb.tt
railties-6.1.7 lib/rails/generators/test_unit/generator/templates/generator_test.rb.tt
railties-6.1.6.1 lib/rails/generators/test_unit/generator/templates/generator_test.rb.tt
railties-6.1.6 lib/rails/generators/test_unit/generator/templates/generator_test.rb.tt
railties-6.1.5.1 lib/rails/generators/test_unit/generator/templates/generator_test.rb.tt
railties-6.1.5 lib/rails/generators/test_unit/generator/templates/generator_test.rb.tt
railties-6.1.4.7 lib/rails/generators/test_unit/generator/templates/generator_test.rb.tt
railties-6.1.4.6 lib/rails/generators/test_unit/generator/templates/generator_test.rb.tt
railties-6.1.4.5 lib/rails/generators/test_unit/generator/templates/generator_test.rb.tt