-
-
Save barsukov/10590924 to your computer and use it in GitHub Desktop.
Revisions
-
There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ Factory.define :item do |f| include ActionDispatch::TestProcess f.name "Macbook Pro 15" f.price_in_dollars 1500 f.photo fixture_file_upload('/files/avatar.jpg', 'image/jpg') end