提交 ca5a35da 编写于 作者: R Rafael Mendonça França

Merge pull request #19449 from Gaurav2728/gaurav-unavailable_link

remove old unavailable link with relevant fix patch 1
......@@ -63,7 +63,7 @@ def redirect_to_url
end
def redirect_to_url_with_unescaped_query_string
redirect_to "http://dev.rubyonrails.org/query?status=new"
redirect_to "http://example.com/query?status=new"
end
def redirect_to_url_with_complex_scheme
......@@ -233,7 +233,7 @@ def test_redirect_to_url
def test_redirect_to_url_with_unescaped_query_string
get :redirect_to_url_with_unescaped_query_string
assert_response :redirect
assert_redirected_to "http://dev.rubyonrails.org/query?status=new"
assert_redirected_to "http://example.com/query?status=new"
end
def test_redirect_to_url_with_complex_scheme
......
......@@ -905,8 +905,7 @@ def supports_rename_index?
def configure_connection
variables = @config.fetch(:variables, {}).stringify_keys
# By default, MySQL 'where id is null' selects the last inserted id.
# Turn this off. http://dev.rubyonrails.org/ticket/6778
# By default, MySQL 'where id is null' selects the last inserted id; Turn this off.
variables['sql_auto_is_null'] = 0
# Increase timeout so the server doesn't disconnect us.
......
......@@ -947,7 +947,6 @@ def test_find_by_id_with_conditions_with_or
end
end
# http://dev.rubyonrails.org/ticket/6778
def test_find_ignores_previously_inserted_record
Post.create!(:title => 'test', :body => 'it out')
assert_equal [], Post.where(id: nil)
......
......@@ -68,8 +68,7 @@ def test_assign_ids
end
end
# need to add an eager loading condition to force the eager loading model into
# the old join model, to test that. See http://dev.rubyonrails.org/ticket/9640
# An eager loading condition to force the eager loading model into the old join model.
def test_eager_loading_in_modules
clients = []
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册