- see test_helper ActionController::TestCase for JSON.parse refactoring
- Need to reload the idea on an update ex: ideas(:one).reload before assertions
- see the idea.rb for validating inclusions
- head :no_content in delete action on ideas_controller? 
- include Rails.application.routes.url_helper in integration tests? 
- Does declaring vars at the top of a file give them global scope? Or is it for readability?
- event.preventDefault();  ?
- see the hassles of asynchronous code and multiple threats (complicated testing)
- IdeaRepository.all - is this Lo-Dash?


Edits: 
test "controller responds to json" do
  id = ideas(:one).id

  get :show, id: id, format: :json
  assert_response :success
end

already have a test by this name in the same file, need to rename test
_____________________________