From b7430aeb8cf2a57e4bbccbf620ce42d45110793d Mon Sep 17 00:00:00 2001 From: Simone Carletti Date: Thu, 14 Jun 2012 11:35:46 +0200 Subject: [PATCH] RSpec create the /specdoc folder if needed. In this way, we don't get this folder for free every time rake evaluates the tasks. --- tasks/spec.rake | 1 - 1 file changed, 1 deletion(-) diff --git a/tasks/spec.rake b/tasks/spec.rake index 021b3eb74..905935aa5 100644 --- a/tasks/spec.rake +++ b/tasks/spec.rake @@ -9,7 +9,6 @@ namespace :spec do desc 'Generate HTML Specdocs for all specs.' RSpec::Core::RakeTask.new(:specdoc) do |t| specdoc_path = File.expand_path('../../specdoc', __FILE__) - Dir.mkdir(specdoc_path) if !File.exist?(specdoc_path) t.rspec_opts = %W( --format html --out #{File.join(specdoc_path, 'index.html')} ) t.fail_on_error = false