E1461: Refactoring Student Team Controller

Hey Andrew. Please take a look at our recent changes to the Student Team Controller.

We've allready renamed it "StudentTeamsController" but we were also concerned that there is no such thing as a "StudentTeam", there is really only an "AssignmentTeam", so the controller should probably be "AssignmentTeamsController". That being said, the worker itself uses the current login more as the primary target. confusion here seems to be from the model structure used.

In addition, many of the more complicated management in the controller is record keeping-which we think would be better taken care of through relationships. Some of these relationships are allready in place in some way or another,  but some (like the `has_many :users, :through => :teams_user` in Team) are done in a non-standard way. Without extensive testing on both the controller and the models, we are a little nervose to make such sweeping changes. We also readily admit that none of us are testing experts or experts on the Expertiza system, so the "white box" testing we'll be doing will be pretty high risk. Do you have any advice?
This file is syntactically incorrect. Here is how it should look:

```ruby
require 'rails_helper'

describe StudentTeamsController do
  let (:student_teams_controller) {StudentTeamsController.new}
  describe '#view' do
    it 'sets the student' do
      Student.should_receive(:find).with('12345')
      student_teams_controller.stub(:view)
      post :view, {student_id: 12345}
    end
  end
end
```