spec/support/aruba.rb in proxy_pac_rb-0.4.2 vs spec/support/aruba.rb in proxy_pac_rb-0.5.0

- old
+ new

@@ -9,41 +9,14 @@ include ::Aruba::Api def dirs @dirs ||= %w(tmp rspec) end - - def absolute_path(*args) - in_current_dir { File.expand_path File.join(*args) } - end - - def _create_file(*args) - super - - self - end - - def create_dir(*args) - super - - self - end - - def touch_file(file_name) - in_current_dir do - file_name = File.expand_path(file_name) - _mkdir(File.dirname(file_name)) - FileUtils.touch file_name - end - - self - end end end RSpec.configure do |c| c.include SpecHelper::Aruba - c.before :each do clean_current_dir restore_env end end