Skip to content

Commit

Permalink
remove old unavailable link with relevant fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaurav2728 committed Mar 23, 2015
1 parent 5d65005 commit 29efc6e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions actionpack/test/controller/redirect_test.rb
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Expand Up @@ -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.
Expand Down
1 change: 0 additions & 1 deletion activerecord/test/cases/finder_test.rb
Expand Up @@ -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)
Expand Down
3 changes: 1 addition & 2 deletions activerecord/test/cases/modules_test.rb
Expand Up @@ -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 = []

Expand Down

0 comments on commit 29efc6e

Please sign in to comment.