11.2.5 is over: ajax way to follow and unfollow user

point:
  1. controller's spec file should under the folder spec/controllers

  2. set the type of spec of '   :type => :controller '

  3. can not use request method , so use ' sign_in user ' by no_capybara