Sha256: 5147fcb5cae6c246cf14393c2766867e255dd7be797ed98a2b5e2208e8a9e8ef
Contents?: true
Size: 1.38 KB
Versions: 6
Compression:
Stored size: 1.38 KB
Contents
#------------------------------------------------------------------------------------- ## Config # disableNewItems: true - do not show new item button in list header # showWithParent: true - show list on a aside from parent # disableFormCache: true # searchable: true - add search button # reorderable: true - permit reorder items # disableDelete: true - do not add delete button below the form # disableSave: true - do not add save button in header # fullsizeView: true - use fullsize layout in desktop mode # urlParams: Article.sport_articles - additional parameter to be included into request # sortReverse: true - reverse objects sorting (descending order), default: false # compoundModule: true - add this, if module is compound (add extra test) # pagination: true - add this, if there are many objects (add extra test) # uploaderImage: true - run tests, for checking uploader #------------------------------------------------------------------------------------- require 'test_helper' class MagazineArticleFrontEndTest < ActionDispatch::IntegrationTest factory_name = 'article' class_name = Article list_of_modules = ['magazine', 'pages', 'articles'] config = {compoundModule: true, sortReverse: true} character_front_end(factory_name, class_name, list_of_modules, config) end
Version data entries
6 entries across 6 versions & 1 rubygems