aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
Diffstat (limited to 'railties/test')
-rw-r--r--railties/test/rails_info_test.rb21
1 files changed, 0 insertions, 21 deletions
diff --git a/railties/test/rails_info_test.rb b/railties/test/rails_info_test.rb
index fc28d7e912..1da66062aa 100644
--- a/railties/test/rails_info_test.rb
+++ b/railties/test/rails_info_test.rb
@@ -14,27 +14,6 @@ class InfoTest < ActiveSupport::TestCase
silence_warnings { load 'rails/info.rb' }
end
- def test_edge_rails_revision_not_set_when_svn_info_is_empty
- Rails::Info.property 'Test that this will not be defined' do
- Rails::Info.edge_rails_revision ''
- end
- assert !property_defined?('Test that this will not be defined')
- end
-
- def test_edge_rails_revision_extracted_from_svn_info
- Rails::Info.property 'Test Edge Rails revision' do
- Rails::Info.edge_rails_revision <<-EOS
- commit 420c4b3d8878156d04f45e47050ddc62ae00c68c
- Author: David Heinemeier Hansson <david@loudthinking.com>
- Date: Sun Apr 13 17:33:27 2008 -0500
-
- Added Rails.public_path to control where HTML and assets are expected to be loaded from
-EOS
- end
-
- assert_property 'Test Edge Rails revision', '420c4b3d8878156d04f45e47050ddc62ae00c68c'
- end
-
def test_property_with_block_swallows_exceptions_and_ignores_property
assert_nothing_raised do
Rails::Info.module_eval do