gift
gift copied to clipboard
How did you create the test fixtures?
I have a test to add, but I needed to change a fixture. I saw that they looked like bare repositories, and cloned 'branched'. made my changes and tried to pushed it back to the bare repo. However, the changes don't seem to take.
I did change the config
file's bare flag to be true, and tried again. But it didn't work.
I could try to replace the entire directory with a bare repo version, but then a different test having to do with commits failed.
How did you create the test fixtures, and how do you change them? Or should I just create a new test fixture?
This is one for @sentientwaffle
I'd recommend creating a new test fixture. If I remember correctly, I just created a git repo (git init
) and made the modifications with the git
command, then moved the .git
directory over to test/fixtures
.