Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: v4.1.0.beta1
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (14 sloc) 0.408 kb
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 -%>
Jump to Line
Something went wrong with that request. Please try again.