Creating unit test for repositories_controller

Signed-off-by: João M. M Silva <jaodsilv@linux.ime.usp.br>
Failling and commented out tests are now pending
Fixing projects_controller_spec.rb

Signed-off-by: Diego Araújo <diegoamc90@gmail.com>
Adjusted RepositoriesController spec for show and create to the new features

Signed-off by: Fellipe Souto <fllsouto@gmail.com>
Unit test for RepositoriesController new method

Signed-off by: Rafael Reggiani Manzo
Unit test for RepositoriesController create method

Signed-off By: Rafael Reggiani Manzo <rr.manzo@gmail.com>
Unit test for RepositoriesController refactored at create method

Using lets

Signed-off by: Rafael Reggiani Manzo <rr.manzo@gmail.com>
Unit test RepositoriesController refactored at show method

Signed-off By: Rafael Reggiani Manzo <rr.manzo@gmail.com>
Actions on RepositoryController require a user logged in

Signed-off by: Fellipe Souto Sampaio <fllsouto@gmail.com>
Unite test for RepositoriesController detroy method
There is no method index on RepositoriesController, so there shouldn't be a test for it
Unit tests for RepositoriesController edit method

Signed-off-by: Renan Fichberg <rfichberg@gmail.com>
Signed-off-by: Diego Araujo <diegoamc90@gmail.com>
RepositoriesController covered with unit tests
Method repositories from the Project model covered with unit test
Repositores routing specs