Fixed repository_spec.rb