From c4623d9ce6d8549406effb86c44719841a08d992 Mon Sep 17 00:00:00 2001 From: Carlos Agarie Date: Tue, 17 Dec 2013 22:54:28 -0200 Subject: [PATCH] Removes continuous.png file after specs The "continuous.png" file is being created during some specs and ends up in the repository. This shouldn't happen. --- spec/id3_spec.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spec/id3_spec.rb b/spec/id3_spec.rb index b86b802..828f260 100644 --- a/spec/id3_spec.rb +++ b/spec/id3_spec.rb @@ -1,6 +1,9 @@ require 'spec_helper' describe describe DecisionTree::ID3Tree do + after :each do + File.delete("continuous.png") if File.file?("continuous.png") + end describe "simple discrete case" do Given(:labels) { ["sun", "rain"]}