Sha256: 15d12b57bb6d9acd45736f68c00202054aa9d4c9e941f36af70490bd8fb6ea11
Contents?: true
Size: 408 Bytes
Versions: 240
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
240 entries across 227 versions & 16 rubygems