Tests fail on clean checked out working directory #103

koraktor opened this Issue Apr 18, 2010 · 2 comments


None yet
2 participants

koraktor commented Apr 18, 2010

You're last commit (c253c52) changed the way the testing project directory is deleted.
As I'm not sure way you're only deleting the contents of test_project and not the directory itself, I have two suggestions: Either check for the existence of test_project before deleting contents or delete the whole directory again.

Otherwise you'll get this error for each test if the directory doesn't exist:
No such file or directory - /Users/koraktor/open-source/glyph/spec/test_project


h3rald commented Apr 18, 2010

Weird! I changed that because I kept getting a getpwd - directory not found error on Linux! On windows it was fine. At the moment, all my tests pass for Ruby 1.8.7, 1.9.1 and JRuby.

I guess I should check for the existence of the directory before deleting it, in that way we should both be happy. What are you testing on? Mac I guess?


h3rald commented Apr 18, 2010

Updated block/structure macros (removed newlines/indents).

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment