Skip to content

Commit

Permalink
Replace shell call with FileUtils.rm_rf
Browse files Browse the repository at this point in the history
  • Loading branch information
phiggins committed Nov 29, 2011
1 parent fbddc1a commit a384af7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/lib/refinery/tasks/testing.rake
Expand Up @@ -38,7 +38,7 @@ namespace :refinery do

desc "Remove the dummy app used for testing"
task :clean_dummy_app do
system "rm -Rdf #{File.join(Refinery::Testing::Railtie.target_engine_path, 'spec/dummy')}"
FileUtils.rm_rf File.join(Refinery::Testing::Railtie.target_engine_path, 'spec/dummy')
end

namespace :engine do
Expand Down

0 comments on commit a384af7

Please sign in to comment.