Sha256: ea6b67dcde1c5e3e38a664804de77c942d805d9ad0dec9de9ac221c8dfe31bb7

Contents?: true

Size: 904 Bytes

Versions: 2

Compression:

Stored size: 904 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

2 entries across 2 versions & 1 rubygems

Version Path
lolita-file-upload-0.2.1 features/configuration_for_tab.feature
lolita-file-upload-0.2.0 features/configuration_for_tab.feature