diff options
author | Mohit Natoo <mohitnatoo@gmail.com> | 2016-03-04 18:19:51 +0530 |
---|---|---|
committer | Mohit Natoo <mohitnatoo@gmail.com> | 2016-03-04 18:26:12 +0530 |
commit | 192dd4493079a7d7ac26558e337402f11f9c3988 (patch) | |
tree | f91154191a9f79f1a6b828aad17a6b59a0e8a4ce /railties | |
parent | c91fda40acbc50a01ad7ebb89d671358cb8d3512 (diff) | |
download | rails-192dd4493079a7d7ac26558e337402f11f9c3988.tar.gz rails-192dd4493079a7d7ac26558e337402f11f9c3988.tar.bz2 rails-192dd4493079a7d7ac26558e337402f11f9c3988.zip |
making a test definition more clear.
Diffstat (limited to 'railties')
-rw-r--r-- | railties/test/application/rake_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/application/rake_test.rb b/railties/test/application/rake_test.rb index 05b0e73603..8e6628cff5 100644 --- a/railties/test/application/rake_test.rb +++ b/railties/test/application/rake_test.rb @@ -24,7 +24,7 @@ module ApplicationTests assert $task_loaded end - def test_the_test_rake_task_is_protected_when_previous_migration_was_production + test "task is protected when previous migration was production" do Dir.chdir(app_path) do output = `bin/rails generate model product name:string; env RAILS_ENV=production bin/rails db:create db:migrate; |