Sha256: 31c78282d37810ca9cf437cad0cde41446292b294ca62a76778bc7fccd6f8474
Contents?: true
Size: 973 Bytes
Versions: 2
Compression:
Stored size: 973 Bytes
Contents
require 'test_helper' class ResourceFieldTest < ViewCase fixtures :all setup :sign_in def test_resource_select_with_its_display_names visit adminpanel.new_permission_path selector = find('#permission_resource') assert selector.find('option', text: 'Categoria') assert selector.find('option', text: 'Producto') assert selector.find('option', text: 'Analytics') assert selector.find('option', text: 'Usuario') assert selector.find('option', text: 'Rol') assert selector.find('option', text: 'Permiso') assert selector.find('option', text: 'Sección') assert selector.find('option', text: 'Taza') assert selector.find('option', text: 'Departamento') assert selector.find('option', text: 'Galeria') assert selector.find('option', text: 'FileResource') assert selector.find('option', text: 'Agente') # assert false end private def sign_in visit adminpanel.signin_path login end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
adminpanel-3.1.0 | test/features/shared/form/resource_field_test.rb |
adminpanel-3.0.0 | test/features/shared/form/resource_field_test.rb |