aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorJosef Šimánek <josef.simanek@gmail.com>2015-02-19 02:44:49 +0100
committerJosef Šimánek <josef.simanek@gmail.com>2015-02-19 02:44:49 +0100
commit644730981765ca1081b764a3a6dde93845430697 (patch)
tree76f3c836ae0b999a3571a38d671b55d26af95703 /railties
parent95ee93892a07f90fdfd503c7ea07abf0fb397bec (diff)
downloadrails-644730981765ca1081b764a3a6dde93845430697.tar.gz
rails-644730981765ca1081b764a3a6dde93845430697.tar.bz2
rails-644730981765ca1081b764a3a6dde93845430697.zip
Remove unused gsub_app_file method from Bukkit.
Diffstat (limited to 'railties')
-rw-r--r--railties/test/isolation/abstract_unit.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/railties/test/isolation/abstract_unit.rb b/railties/test/isolation/abstract_unit.rb
index 5be321ecf2..63209559d7 100644
--- a/railties/test/isolation/abstract_unit.rb
+++ b/railties/test/isolation/abstract_unit.rb
@@ -277,12 +277,6 @@ module TestHelpers
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