diff options
author | José Valim <jose.valim@gmail.com> | 2011-07-06 22:59:18 -0300 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-07-06 23:00:02 -0300 |
commit | 35597e3606e72c1a32e2a4573f5da009377ac037 (patch) | |
tree | 1a3860f175e7873c0f15d31b45a16b168b9d4886 /railties | |
parent | 86e2f888e7a3b96f880ab33bfcf4fbf275a40544 (diff) | |
download | rails-35597e3606e72c1a32e2a4573f5da009377ac037.tar.gz rails-35597e3606e72c1a32e2a4573f5da009377ac037.tar.bz2 rails-35597e3606e72c1a32e2a4573f5da009377ac037.zip |
Ensure the engine_path is there (it may make CI happy).
Diffstat (limited to 'railties')
-rw-r--r-- | railties/test/railties/generators_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/railties/generators_test.rb b/railties/test/railties/generators_test.rb index 08dd1ebbc2..1d4ba0e5b6 100644 --- a/railties/test/railties/generators_test.rb +++ b/railties/test/railties/generators_test.rb @@ -32,8 +32,8 @@ module RailtiesTests end def build_engine(is_mountable=false) + FileUtils.rm_rf(engine_path) FileUtils.mkdir_p(engine_path) - FileUtils.rm_r(engine_path) mountable = is_mountable ? "--mountable" : "" |