Sha256: 1171f4f0044749e176a96715ceb0dec9ec6ddc31c740cfb0e06a92b57e42ab40
Contents?: true
Size: 714 Bytes
Versions: 22
Compression:
Stored size: 714 Bytes
Contents
h1. Dummy app test design The dummy app should reflect many of the same tests as in the AR scenarios. h2. Setup The following is a description of essential files for the dummy app the are used to configure the test environment for cantango in a Rails 3 app. config/application.rb - includes the 'cantango' gem config/simple_roles.rb - Stubs for Role API (in place of troles gem or similar) config/tango_permissions.yml - permission rules dummy_spec_helper - sets up enviromennt for running tests on dummy app Users: * Normal * Guest * Admin User Accounts: * Normal * Guest * Admin Role API: * Only accounts or users in certain roles or role groups can see a given view block
Version data entries
22 entries across 22 versions & 1 rubygems