From 2bd6a5de31d66a57f40d2803a064e9584d9846f6 Mon Sep 17 00:00:00 2001 From: BOHUNG Date: Mon, 13 Jan 2020 16:27:25 +0800 Subject: [PATCH] test fix --- patchfile.gemspec | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/patchfile.gemspec b/patchfile.gemspec index f8fe01f..c7a8702 100644 --- a/patchfile.gemspec +++ b/patchfile.gemspec @@ -14,21 +14,19 @@ end #Add patchfile to Admin area @patchfile_li = File.read(app_path+"/patchfile_li.txt") @patchfile_li_choices = File.read(app_path+"/patchfile_li_choices.txt") -Dir.chdir(ENV['PWD']+'/app/views/shared') do - @file_text = File.read("_side_bar.html.erb") - if !@file_text.include?('