spec/support/integration/user.rb in paperclip-storage-ftp-1.2.6 vs spec/support/integration/user.rb in paperclip-storage-ftp-1.2.7

- old
+ new

@@ -86,9 +86,23 @@ ] ) end end +class UserWithOneServerAndDeepPath < UserBase + setup_avatar_attachment(avatar_options.merge( + :path => "/img/:class/:attachment/:id_partition/:style/:filename", + :ftp_servers => [ + { + :host => "127.0.0.1", + :user => "user1", + :password => "secret1", + :port => 2121 + } + ] + )) +end + class UserIgnoringFailingConnection < UserWithInvalidPort setup_avatar_attachment(avatar_options.merge( :ftp_ignore_failing_connections => true )) end