Created
April 28, 2016 15:22
-
-
Save justqyx/63fec02deb5a060aa7640d40adb7e8cf to your computer and use it in GitHub Desktop.
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 | |
sequence(:mock_image) do |n| | |
{ | |
tempfile: StringIO.new('{・㉨・}'), | |
filename: "#{n}.png", | |
original_filename: "#{n}.png", | |
content_type: 'image/png' | |
} | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment