diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-10-16 17:04:01 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-10-16 17:04:01 -0300 |
commit | 07ae138386feec9e19cdd8dc6b80d4dc856f7208 (patch) | |
tree | e79d21fb6e9cbe38b5188c3b8fa4838ad30b4c07 /railties/lib/rails/generators/testing | |
parent | be5521eb4e806ff3e842ff0ad5912bf50de3a8f6 (diff) | |
parent | 101fbdba4c9e586d4ddd94a9d40061383336438d (diff) | |
download | rails-07ae138386feec9e19cdd8dc6b80d4dc856f7208.tar.gz rails-07ae138386feec9e19cdd8dc6b80d4dc856f7208.tar.bz2 rails-07ae138386feec9e19cdd8dc6b80d4dc856f7208.zip |
Merge pull request #17292 from tricknotes/generator-test-doc
Fix example code for `Rails::Generators::Testing::Behaviour` [ci skip]
Diffstat (limited to 'railties/lib/rails/generators/testing')
-rw-r--r-- | railties/lib/rails/generators/testing/behaviour.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/testing/behaviour.rb b/railties/lib/rails/generators/testing/behaviour.rb index e0600d0b59..fd2ea274e1 100644 --- a/railties/lib/rails/generators/testing/behaviour.rb +++ b/railties/lib/rails/generators/testing/behaviour.rb @@ -50,7 +50,7 @@ module Rails # 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) |