• Yorick Peterse's avatar
    Cache output of Repository#exists? · 68a4c98f
    Yorick Peterse authored
    This caches the output of Repository#exists? in Redis while making sure
    it's flushed properly when creating new repositories, deleting them,
    etc.
    
    For the ProjectWiki tests to work I had to make ProjectWiki#create_repo!
    public as testing private methods in RSpec is a bit of a pain.
    68a4c98f
Name
Last commit
Last update
..
build_email_worker_spec.rb Loading commit data...
delete_user_worker_spec.rb Loading commit data...
email_receiver_worker_spec.rb Loading commit data...
emails_on_push_worker_spec.rb Loading commit data...
merge_worker_spec.rb Loading commit data...
post_receive_spec.rb Loading commit data...
repository_fork_worker_spec.rb Loading commit data...
repository_import_worker_spec.rb Loading commit data...
stuck_ci_builds_worker_spec.rb Loading commit data...