Created
November 15, 2012 16:05
-
-
Save rugginoso/4079399 to your computer and use it in GitHub Desktop.
Workaround for http://github.com/gregbell/active_admin/issues/512
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FactoryGirl.define do | |
factory :photo do | |
image { Rack::Test::UploadedFile.new('spec/factories/test.png', 'image/png') } | |
description 'test description' | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
👍