Clean up tests.

These commits simply make the tests way more readable and easy to
follow.  They should also make future tests easier to read and write
because they create new common functions that will occur frequently
throughout the rest of the upcoming tests.
Initial DB design

This commit reflects my first attempt at creating a DB that will work
for the rest of the project along with some very simple tests that
reflect that the DB is implemented properly.  It is expected that
discussion with students over the next several days will result in
modifications to the files since I might be missing a key feature that
they will notice and point out needs to be added to the system.
Initial DB design

This commit reflects my first attempt at creating a DB that will work
for the rest of the project along with some very simple tests that
reflect that the DB is implemented properly.  It is expected that
discussion with students over the next several days will result in
modifications to the files since I might be missing a key feature that
they will notice and point out needs to be added to the system.
Merge branch 'testing'

Conflicts:
	spec/models/contest_manager_spec.rb
	spec/models/contest_spec.rb
	spec/models/match_spec.rb
	spec/models/match_type_spec.rb
	spec/models/player_spec.rb
	spec/models/programming_language_spec.rb

Because I did a commit --amend to try to fix things and now I'm afraid
fast-forwarding will be permanently broken. :(  Hopefully, that isn't
the case, but we'll see.
1:N associations and create contest manager

These tests additionally check for one-to-many associations as well as
contain the initial tests for creating a contest manager.  The contest
manager tests will continue to need development.

As a part of this commit, we are creating code/ directories for
storing the contest managers, but .gitignore updates so those files
don't get included in the repo.  This should ensure that everyone has
the directories created for them, but doesn't try to pass around all
these managers accidentally.
Merge branch 'testing'
Test for final ERD layout

These tests ensure that the application meets the particular structure
laid out in the course-wide ERD.  By passing these tests, the models
should all have the correct attributes, but may be missing various
validations.  There are no functional tests correctly written, yet.
There are several ones started that are set to pending until they are
completed correctly.
Test for user association from referees

We failed to check that all referees can refer to their creator.  This
test includes that association that wasn't being tested for
previously.  This existed in the ERD, but was simply missing in the
tests.
Initial Tests for creating Referees and Contests

These are the beginnings of tests that check that Referees and
Contests can be created.  More to come, obviously.
Delete contest_manager tests.

When synchronizing with implementation, I forgot to delete these
files.  This commit accomplishes that task.
Delete contest_manager tests.

When synchronizing with implementation, I forgot to delete these
files.  This commit accomplishes that task.
Delete more tests

These are tests that are not implemented by students, but are
implemented by me. :(
Delete more tests

These are tests that are not implemented by students, but are
implemented by me. :(
Fix FactoryGirl Contest creation

I forgot to change the name of the field and merge this into
FactoryGirl creation.
And fixup the spec to check for right field.

This file also needs updating.
Merge https://github.com/geisler/game_contest_server into old

Conflicts:
	spec/models/contest_spec.rb
	spec/models/match_spec.rb
	spec/models/player_match_spec.rb
	spec/models/player_spec.rb
	spec/models/referee_spec.rb
	spec/models/user_spec.rb
Fill out referee tests.

These tests do a good job of completing the referee tests.  They are
quite robust now and try to check for most of the behavior that must
exist for the referee to be correct.  There should be quite a few less
tests for the referee after this commit, since the new tests would
have to deal with more edge cases and not the "normal" path through
the site.
Merge branch 'testing'
In class stuff
Merge https://github.com/geisler/game_contest_server into old

Conflicts:
	.gitignore