diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-05-03 21:25:56 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-05-03 21:25:56 -0300 |
commit | 35867c0beed7077139fe64eeb729fada448ed1e7 (patch) | |
tree | 199d02a13952cc0828130bfa644a26741630bea5 /railties/test/application/configuration/base_test.rb | |
parent | 3297909cdc4fb114df96b0e74ff5d55c210650cf (diff) | |
download | rails-35867c0beed7077139fe64eeb729fada448ed1e7.tar.gz rails-35867c0beed7077139fe64eeb729fada448ed1e7.tar.bz2 rails-35867c0beed7077139fe64eeb729fada448ed1e7.zip |
Remove unneeded base file
We are only using for one test class
Diffstat (limited to 'railties/test/application/configuration/base_test.rb')
-rw-r--r-- | railties/test/application/configuration/base_test.rb | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/railties/test/application/configuration/base_test.rb b/railties/test/application/configuration/base_test.rb deleted file mode 100644 index d6a82b139d..0000000000 --- a/railties/test/application/configuration/base_test.rb +++ /dev/null @@ -1,37 +0,0 @@ -require 'isolation/abstract_unit' -require 'rack/test' -require 'env_helpers' - -module ApplicationTests - module ConfigurationTests - class BaseTest < ActiveSupport::TestCase - def setup - build_app - boot_rails - FileUtils.rm_rf("#{app_path}/config/environments") - end - - def teardown - teardown_app - FileUtils.rm_rf(new_app) if File.directory?(new_app) - end - - private - def new_app - File.expand_path("#{app_path}/../new_app") - end - - def copy_app - FileUtils.cp_r(app_path, new_app) - end - - def app - @app ||= Rails.application - end - - def require_environment - require "#{app_path}/config/environment" - end - end - end -end
\ No newline at end of file |