• 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
repository_spec.rb 23.2 KB