diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-11-24 18:47:42 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-11-24 18:47:42 -0800 |
commit | a5870d43e3aac4ae02a650d0112b305c6a3d9114 (patch) | |
tree | 6baa195fdacd09f7c79f307a8e54387320d90050 /railties/test | |
parent | 104f3a57768602289299b3be0fab5b1ed21d7653 (diff) | |
download | rails-a5870d43e3aac4ae02a650d0112b305c6a3d9114.tar.gz rails-a5870d43e3aac4ae02a650d0112b305c6a3d9114.tar.bz2 rails-a5870d43e3aac4ae02a650d0112b305c6a3d9114.zip |
Rename Rails::Info.components to frameworks
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/rails_info_test.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/railties/test/rails_info_test.rb b/railties/test/rails_info_test.rb index 3e91e2f2ee..9befd44a58 100644 --- a/railties/test/rails_info_test.rb +++ b/railties/test/rails_info_test.rb @@ -61,14 +61,14 @@ EOS assert_property 'Goodbye', 'World' end - def test_component_version + def test_framework_version assert_property 'Active Support version', ActiveSupport::VERSION::STRING end - def test_components_exist - Rails::Info.components.each do |component| - dir = File.dirname(__FILE__) + "/../../" + component.gsub('_', '') - assert File.directory?(dir), "#{component.classify} does not exist" + def test_frameworks_exist + Rails::Info.frameworks.each do |framework| + dir = File.dirname(__FILE__) + "/../../" + framework.gsub('_', '') + assert File.directory?(dir), "#{framework.classify} does not exist" end end |