Sha256: 12f2e6e80255100305c778bff1aa46f58f14f4758d1b1abc09b6f3f6f38e47f7
Contents?: true
Size: 879 Bytes
Versions: 33
Compression:
Stored size: 879 Bytes
Contents
Feature: lolita have new configuration for tab Lolita file upload define new configuration for lolita tabs, that allow to specify file types, file list view and add atributes for file. Tab type for lolita-file-upload will be :file Scenario: i am able to define new tab with type :file and set allowed file types Given a lolita and lolita-file-upload When I define a file tab for post Then I can set included extension type pdf Scenario: set maximum file upload size Given a lolita And a rails And rails application And file tab for post When I set maximum file upload size to 100000 Then I cannot upload file large_file.txt Scenario: set assciation with Lolita::Upload::File Given a lolita And lolita-file-upload When I define a file tab for post Then Post has association with Lolita::Upload::File And association name for Post is :files
Version data entries
33 entries across 33 versions & 1 rubygems