Replace shoulda's set_the_flash by rspec's expect.
move repository api handling to api namespace.
add json validation spec to repository.
Add remote_type attribute to Repository
add specs for repository fork
Run rename refactor script.
Omit explicit `FactoryGirl.` on create and build.
Use one-liner before { ... } where possible.
Move repositories_controller_test to rspec.
add repository controller spec on deletion