Merge pull request #17292 from tricknotes/generator-test-doc
Fix example code for `Rails::Generators::Testing::Behaviour` [ci skip]
This commit is contained in:
commit
07ae138386
@ -50,7 +50,7 @@ def destination(path)
|
||||
# class AppGeneratorTest < Rails::Generators::TestCase
|
||||
# tests AppGenerator
|
||||
# destination File.expand_path("../tmp", File.dirname(__FILE__))
|
||||
# teardown :cleanup_destination_root
|
||||
# setup :prepare_destination
|
||||
#
|
||||
# test "database.yml is not created when skipping Active Record" do
|
||||
# run_generator %w(myapp --skip-active-record)
|
||||
|
Loading…
Reference in New Issue
Block a user