Rspec installation
Basic code to test correct access value for codes
Remove old specs that do not have corresponding files
Remove all base tests besides codes and users
Annotate models and tests
Specs for codes
Factory girl settings for rspec
Add user access to projects tests to code
Add factories directory
Rspec initializers are done in the spec_helper
Use factory_girl_rails
Add user factories and more rspec factory girl config
Set host for test environment
Add database cleaner
Clean database before and after running tests
Add add_code method to users
Fix up the auth_code method to use the new add_code method
Add more code specs to test project_access
Merge pull request #296 from teamleada/mark/access-code-tests

Access Code tests