| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Use Mail gem for receiving emails. Changed fixture email question to require a
valid signature. Tests for signatures validation.
|
| |
|
|
|
|
| |
Permissions and RichTypes
|
| |
|
| |
|
|
|
|
|
|
| |
Answer can't enforce :null=>false on content field of answer because
when user answers multiple choice question and selects no options
his/her answer will have empty content field.
|
| |
|
|
|
|
|
| |
The task fetches Gentoo project leads data from gentoo.org and stores it
in tmp/lead_data.yml
|
|
|
|
|
| |
Previously it had to be handled separately.
Updated Answer#update_from and Answer#new_from to work with it.
|
| |
|
| |
|
|
|
|
|
| |
'rake cucumber' will generate taglibs before running tests (tests fail if
taglibs are outdated), 'rake' will run spec and cucumber tests.
|
| |
|
|
|
|
| |
Methods in lib/permissions/set.rb help avoiding duplication in writing permissions.
|
|
|
|
|
|
| |
And tests for permissions them. Any logged in user can create, update,
view, delete answers [s]he owns. No one can change answers someone else
owns. Recruiters can view all answers.
|
|
|
|
|
|
|
|
| |
Created Permissions::AnyoneCanViewRecruiterCanChange module and used it
to add permissions for Question and QuestionCategory models.Added
Permissions::TestPermissions module and used it to tests
permissions for Question and QuestionCategoryfor Created users fixture
tests for User and Question now use fixture.
|
|
Works with rspec from portage.
|