aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-09-25 16:20:31 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-09-25 16:20:31 -0300
commit64fc8963b9998cc833d7f2b04e4b9fef3428b858 (patch)
tree196513fc6863457bd19406f641b810a0efef0d7b /railties/test
parent2922f63039737f4e3ad0bf182d7f9fbfdaecd1dd (diff)
downloadrails-64fc8963b9998cc833d7f2b04e4b9fef3428b858.tar.gz
rails-64fc8963b9998cc833d7f2b04e4b9fef3428b858.tar.bz2
rails-64fc8963b9998cc833d7f2b04e4b9fef3428b858.zip
Remove unused code
Diffstat (limited to 'railties/test')
-rw-r--r--railties/test/rails_info_test.rb13
1 files changed, 1 insertions, 12 deletions
diff --git a/railties/test/rails_info_test.rb b/railties/test/rails_info_test.rb
index 4bec302ff8..92e4af25b5 100644
--- a/railties/test/rails_info_test.rb
+++ b/railties/test/rails_info_test.rb
@@ -38,21 +38,10 @@ class InfoTest < ActiveSupport::TestCase
end
def test_rails_version
- assert_property 'Rails version',
+ assert_property 'Rails version',
File.read(File.realpath('../../../RAILS_VERSION', __FILE__)).chomp
end
- def test_framework_version
- assert_property 'Active Support version', ActiveSupport.version.to_s
- end
-
- def test_frameworks_exist
- Rails::Info.frameworks.each do |framework|
- dir = File.dirname(__FILE__) + "/../../" + framework.delete('_')
- assert File.directory?(dir), "#{framework.classify} does not exist"
- end
- end
-
def test_html_includes_middleware
Rails::Info.module_eval do
property 'Middleware', ['Rack::Lock', 'Rack::Static']