{"action":"created","issue":{"url":"https://api.github.com/repos/rails/rails-controller-testing/issues/5","labels_url":"https://api.github.com/repos/rails/rails-controller-testing/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails-controller-testing/issues/5/comments","events_url":"https://api.github.com/repos/rails/rails-controller-testing/issues/5/events","html_url":"https://github.com/rails/rails-controller-testing/issues/5","id":85272203,"number":5,"title":"Adding rails-controller-testing** gem does not fix NoMethodError message","user":{"login":"jasnow","id":43523,"avatar_url":"https://avatars.githubusercontent.com/u/43523?v=3","gravatar_id":"","url":"https://api.github.com/users/jasnow","html_url":"https://github.com/jasnow","followers_url":"https://api.github.com/users/jasnow/followers","following_url":"https://api.github.com/users/jasnow/following{/other_user}","gists_url":"https://api.github.com/users/jasnow/gists{/gist_id}","starred_url":"https://api.github.com/users/jasnow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasnow/subscriptions","organizations_url":"https://api.github.com/users/jasnow/orgs","repos_url":"https://api.github.com/users/jasnow/repos","events_url":"https://api.github.com/users/jasnow/events{/privacy}","received_events_url":"https://api.github.com/users/jasnow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"tgxworld","id":4335742,"avatar_url":"https://avatars.githubusercontent.com/u/4335742?v=3","gravatar_id":"","url":"https://api.github.com/users/tgxworld","html_url":"https://github.com/tgxworld","followers_url":"https://api.github.com/users/tgxworld/followers","following_url":"https://api.github.com/users/tgxworld/following{/other_user}","gists_url":"https://api.github.com/users/tgxworld/gists{/gist_id}","starred_url":"https://api.github.com/users/tgxworld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgxworld/subscriptions","organizations_url":"https://api.github.com/users/tgxworld/orgs","repos_url":"https://api.github.com/users/tgxworld/repos","events_url":"https://api.github.com/users/tgxworld/events{/privacy}","received_events_url":"https://api.github.com/users/tgxworld/received_events","type":"User","site_admin":false},"milestone":null,"comments":18,"created_at":"2015-06-04T20:52:48Z","updated_at":"2015-08-21T13:46:13Z","closed_at":null,"body":"Adding **rails-controller-testing** gem to my **Rails 5** fork of codeforatlanta's show-me-the-food5 (https://github.com/jasnow/show-me-the-food5) repo's Gemfile does not fix the following message:\r\n\r\n * NoMethodError:assigns has been extracted to a gem. To continue using it, add `gem 'rails-controller-testing'` to your Gemfile.\r\n\r\nAppears to not be the only one: http://stackoverflow.com/questions/30605868/rails-controller-testing-gem\r\n\r\n----------------------------------------------------------------------\r\nIf you run \"rake\" before upgrading to the most recent version of Rails 5, no tests break.\r\n\r\nAfter adding the gem rails-controller-testing, running \"bundle update\", and then running \"rake,\" you get:\r\n```\r\nFailures:\r\n\r\n  1) LocationsController#index assigns @locations\r\n     Failure/Error: subject{ assigns(:locations) }\r\n     NoMethodError:\r\n       assigns has been extracted to a gem. To continue using it,\r\n               add `gem 'rails-controller-testing'` to your Gemfile.\r\n     # /home/jasnow/.rvm/gems/ruby-2.2.2/bundler/gems/rails-7220ffcffd00/\r\n       actionpack/lib/action_dispatch/testing/test_process.rb:8:in `assigns'\r\n     # ./spec/controllers/locations_controller_spec.rb:5:in `block\r\n       (3 levels) in <top (required)>'\r\n     # ./spec/controllers/locations_controller_spec.rb:9:in `block\r\n       (3 levels) in <top (required)>'\r\n\r\nFinished in 0.29375 seconds (files took 3.41 seconds to load)\r\n1 example, 1 failure\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/rails/rails-controller-testing/issues/comments/133428704","html_url":"https://github.com/rails/rails-controller-testing/issues/5#issuecomment-133428704","issue_url":"https://api.github.com/repos/rails/rails-controller-testing/issues/5","id":133428704,"user":{"login":"tgxworld","id":4335742,"avatar_url":"https://avatars.githubusercontent.com/u/4335742?v=3","gravatar_id":"","url":"https://api.github.com/users/tgxworld","html_url":"https://github.com/tgxworld","followers_url":"https://api.github.com/users/tgxworld/followers","following_url":"https://api.github.com/users/tgxworld/following{/other_user}","gists_url":"https://api.github.com/users/tgxworld/gists{/gist_id}","starred_url":"https://api.github.com/users/tgxworld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgxworld/subscriptions","organizations_url":"https://api.github.com/users/tgxworld/orgs","repos_url":"https://api.github.com/users/tgxworld/repos","events_url":"https://api.github.com/users/tgxworld/events{/privacy}","received_events_url":"https://api.github.com/users/tgxworld/received_events","type":"User","site_admin":false},"created_at":"2015-08-21T13:46:13Z","updated_at":"2015-08-21T13:46:13Z","body":"@asiniy what doesn't work? I need more information than that to help you."}}