tablexi/nucore-open — pull request #230 by jhanggi (2014-11-18 06:06:34+00:00)
Title: Fix paperclip specs

This should fix the specs that were broken by the Paperclip upgrade. I made one first attempt that worked, but it felt weird to be modifying mime types. What I realized is that there's no reason to be uploading `.rb` files. I believe those were leftover from days past when I believe Surveyor was actually an engine running within the same application. So I changed them to a `.txt` file, and the specs pass now.

The `to_file` method was deprecated and removed, so I had to change that syntax as well.