The cleanest way is probably to do use fixtures for the files, but to use a before and after block for creating and removing the symlink. Now the spec contains a lot of setup code that makes it less clear.