gift icon indicating copy to clipboard operation
gift copied to clipboard

How did you create the test fixtures?

Open iamwilhelm opened this issue 10 years ago • 2 comments

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?

iamwilhelm avatar Mar 09 '14 00:03 iamwilhelm

This is one for @sentientwaffle

notatestuser avatar Mar 18 '14 12:03 notatestuser

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.

sentientwaffle avatar Mar 18 '14 13:03 sentientwaffle