8b725c7 Add unit-test checking that the ref is created when viewing a PR

Authored and Committed by pingou 6 years ago
    Add unit-test checking that the ref is created when viewing a PR
    
    Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>