Permalink
Browse files

Merge pull request #18999 from simi/remove-unused-gsub_app_file

Remove unused gsub_app_file method from Bukkit.
  • Loading branch information...
guilleiguaran committed Feb 19, 2015
2 parents 95ee938 + 6447309 commit 22a347d44aad55760044acf25e058ca8976b3c82
Showing with 0 additions and 6 deletions.
  1. +0 −6 railties/test/isolation/abstract_unit.rb
@@ -277,12 +277,6 @@ def app_file(path, contents)
end
end
def gsub_app_file(path, regexp, *args, &block)
path = "#{app_path}/#{path}"
content = File.read(path).gsub(regexp, *args, &block)
File.open(path, 'wb') { |f| f.write(content) }
end
def remove_file(path)
FileUtils.rm_rf "#{app_path}/#{path}"
end

0 comments on commit 22a347d

Please sign in to comment.