Spec was requiring tempfile without using it