{"action":"created","issue":{"url":"https://api.github.com/repos/rails/rails/issues/22511","labels_url":"https://api.github.com/repos/rails/rails/issues/22511/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/22511/comments","events_url":"https://api.github.com/repos/rails/rails/issues/22511/events","html_url":"https://github.com/rails/rails/pull/22511","id":120637106,"number":22511,"title":"Show redirect response code in assert_response messages","user":{"login":"jonatack","id":2415484,"avatar_url":"https://avatars.githubusercontent.com/u/2415484?v=3","gravatar_id":"","url":"https://api.github.com/users/jonatack","html_url":"https://github.com/jonatack","followers_url":"https://api.github.com/users/jonatack/followers","following_url":"https://api.github.com/users/jonatack/following{/other_user}","gists_url":"https://api.github.com/users/jonatack/gists{/gist_id}","starred_url":"https://api.github.com/users/jonatack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonatack/subscriptions","organizations_url":"https://api.github.com/users/jonatack/orgs","repos_url":"https://api.github.com/users/jonatack/repos","events_url":"https://api.github.com/users/jonatack/events{/privacy}","received_events_url":"https://api.github.com/users/jonatack/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"arthurnn","id":833383,"avatar_url":"https://avatars.githubusercontent.com/u/833383?v=3","gravatar_id":"","url":"https://api.github.com/users/arthurnn","html_url":"https://github.com/arthurnn","followers_url":"https://api.github.com/users/arthurnn/followers","following_url":"https://api.github.com/users/arthurnn/following{/other_user}","gists_url":"https://api.github.com/users/arthurnn/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurnn/subscriptions","organizations_url":"https://api.github.com/users/arthurnn/orgs","repos_url":"https://api.github.com/users/arthurnn/repos","events_url":"https://api.github.com/users/arthurnn/events{/privacy}","received_events_url":"https://api.github.com/users/arthurnn/received_events","type":"User","site_admin":true},"milestone":null,"comments":12,"created_at":"2015-12-06T14:19:00Z","updated_at":"2015-12-11T18:02:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/22511","html_url":"https://github.com/rails/rails/pull/22511","diff_url":"https://github.com/rails/rails/pull/22511.diff","patch_url":"https://github.com/rails/rails/pull/22511.patch"},"body":"Follow-up to PR #19977, which added the redirection path to the error\r\nmessage of assert_response if response is :redirect, but which stopped\r\nshowing the 302 status code.\r\n\r\nThis PR brings back showing the 302 to make it clearer, and simplifies\r\nthe code somewhat."},"comment":{"url":"https://api.github.com/repos/rails/rails/issues/comments/164004934","html_url":"https://github.com/rails/rails/pull/22511#issuecomment-164004934","issue_url":"https://api.github.com/repos/rails/rails/issues/22511","id":164004934,"user":{"login":"jonatack","id":2415484,"avatar_url":"https://avatars.githubusercontent.com/u/2415484?v=3","gravatar_id":"","url":"https://api.github.com/users/jonatack","html_url":"https://github.com/jonatack","followers_url":"https://api.github.com/users/jonatack/followers","following_url":"https://api.github.com/users/jonatack/following{/other_user}","gists_url":"https://api.github.com/users/jonatack/gists{/gist_id}","starred_url":"https://api.github.com/users/jonatack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonatack/subscriptions","organizations_url":"https://api.github.com/users/jonatack/orgs","repos_url":"https://api.github.com/users/jonatack/repos","events_url":"https://api.github.com/users/jonatack/events{/privacy}","received_events_url":"https://api.github.com/users/jonatack/received_events","type":"User","site_admin":false},"created_at":"2015-12-11T18:02:48Z","updated_at":"2015-12-11T18:02:48Z","body":"The travis failure appears to be unrelated:\r\n\r\n```  1) Failure:\r\nApplicationTests::RakeTest#test_db_test_clone_when_using_sql_format [test/application/rake_test.rb:235]:\r\nExpected /Execute db:test:clone_structure/ to match \"      invoke  active_record\\n      create    db/migrate/20151211173455_create_users.rb\\n      create    app/models/user.rb\\n      invoke    test_unit\\n      create      test/models/user_test.rb\\n      create      test/fixtures/users.yml\\n      invoke  resource_route\\n       route    resources :users\\n      invoke  scaffold_controller\\n      create    app/controllers/users_controller.rb\\n      invoke    erb\\n      create      app/views/users\\n      create      app/views/users/index.html.erb\\n      create      app/views/users/edit.html.erb\\n      create      app/views/users/show.html.erb\\n      create      app/views/users/new.html.erb\\n      create      app/views/users/_form.html.erb\\n      invoke    test_unit\\n      create      test/controllers/users_controller_test.rb\\n      invoke    helper\\n      create      app/helpers/users_helper.rb\\n      invoke      test_unit\\n      invoke  assets\\n      invoke    coffee\\n      create      app/assets/javascripts/users.coffee\\n      invoke    scss\\n      create      app/assets/stylesheets/users.scss\\n      invoke  scss\\n      create    app/assets/stylesheets/scaffolds.scss\\n== 20151211173455 CreateUsers: migrating ======================================\\n-- create_table(:users)\\n   -> 0.0015s\\n== 20151211173455 CreateUsers: migrated (0.0016s) =============================\\n\\n** Invoke db:test:clone (first_time)\\nrake aborted!\\nDon't know how to build task 'db:test:deprecated'\\n/home/travis/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rake/task_manager.rb:62:in `[]'\\n/home/travis/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rake/task.rb:57:in `lookup_prerequisite'\\n/home/travis/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rake/task.rb:53:in `block in prerequisite_tasks'\\n/home/travis/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rake/task.rb:53:in `map'\\n/home/travis/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rake/task.rb:53:in `prerequisite_tasks'\\n/home/travis/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rake/task.rb:199:in `invoke_prerequisites'\\n/home/travis/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rake/task.rb:178:in `block in invoke_with_call_chain'\\n/home/travis/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'\\n/home/travis/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rake/task.rb:172:in `invoke_with_call_chain'\\n/home/travis/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rake/task.rb:165:in `invoke'\\n/home/travis/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rake/application.rb:150:in `invoke_task'\\n/home/travis/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rake/application.rb:106:in `block (2 levels) in top_level'\\n/home/travis/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rake/application.rb:106:in `each'\\n/home/travis/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rake/application.rb:106:in `block in top_level'\\n/home/travis/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rake/application.rb:115:in `run_with_threads'\\n/home/travis/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rake/application.rb:100:in `top_level'\\n/home/travis/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rake/application.rb:78:in `block in run'\\n/home/travis/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rake/application.rb:176:in `standard_exception_handling'\\n/home/travis/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rake/application.rb:75:in `run'\\nbin/rake:4:in `<main>'\\nTasks: TOP => db:test:clone\\n\".\r\n24 runs, 52 assertions, 1 failures, 0 errors, 0 skips\r\nrake aborted!\r\nCommand failed with status (1): [/home/travis/.rvm/rubies/ruby-2.2.3/bin/ru...]\r\n/home/travis/build/rails/rails/railties/Rakefile:21:in `block (3 levels) in <top (required)>'\r\n/home/travis/build/rails/rails/railties/Rakefile:12:in `each'\r\n/home/travis/build/rails/rails/railties/Rakefile:12:in `block (2 levels) in <top (required)>'\r\n/home/travis/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `eval'\r\n/home/travis/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `<main>'\r\nTasks: TOP => test => test:isolated\r\n(See full trace by running task with --trace)\r\nRails build FAILED\r\nFailed components: railties\r\n```"}}