aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers
AgeCommit message (Collapse)Author
2017-12-06- Change inheritance naming in api/v1 controllers => it generated errorscedricnjanga
- add format: :json in controller specs
2017-12-05Add some changes according to PR reviewcedricnjanga
2017-11-27Merge branch 'master' of github.com:af83/stif-boivcedricnjanga
2017-11-27Test Devise::CasSessionsController flash message with more specific messageAlban Peignier
2017-11-22Change the use of namespace and remove modulescedricnjanga
2017-11-22Merge branch 'master' into 4941-refactoring_object_idcedricnjanga
2017-11-22Merge branch 'master' into 4941-refactoring_object_idcedricnjanga
2017-11-20Change the use of namespace and remove modulescedricnjanga
2017-11-17Refs: #4823@1.7h; CodeReview #show -> #executedRobert
2017-11-17Merge branch '4516_cleanup_rule_parameter_set'Xinhui
2017-11-14Remove rule parameter set controller, views, helperXinhui
Refs #4516
2017-11-13ComplianceCheckSets#validated: Add response bodyTeddy Wing
On successful status update, respond with the `ComplianceCheckSet` object attributes. Otherwise, respond with an error JSON. Refs #4757
2017-11-13ComplianceCheckSetsController: Get ComplianceCheckSet and update statusTeddy Wing
Get the `ComplianceCheckSet` from the URL and call its `#update_status` method. This doesn't currently work all the way. We need to send a real response. Refs #4757
2017-11-13Add route stub for validation finalisationTeddy Wing
This route will be called by the Java application when ComplianceCheck validation is completed. It will perform post-validation work, primarily updating statuses. Refs #4757
2017-11-09Refs #4932 Change route duplication to redrect to routes#indexcedricnjanga
2017-11-08fix bad indentationGuillaume
2017-11-08filter compliance_control_set by organisation on valisate referential and ↵Guillaume
add specs
2017-10-31Fix spec to add name for import factory Refs #4816Luc Donnet
2017-10-24Fix spec/controllers/compliance_controls_controller_spec.rb redirect route ↵Luc Donnet
for POST UPDATE
2017-10-16Fix spec compliance_controls and factoriesLuc Donnet
2017-10-03Comment spec/controllers/compliance_control_sets_controller_spec.rb to get ↵Luc Donnet
the build passed
2017-10-02Refs: #4627@0.2h; Fixes regression for renamed compliance_control factoryRobert
2017-09-29Refs Adapt transport mode & submode translationscedricnjanga
2017-09-29Fix ComplianceControls#create should redirect to complianceControlSet#showXinhui
2017-09-28Refs #4634 Add spec to ComplianceControlBlocksControllercedricnjanga
2017-09-28ComplianceControls#select_type actionXinhui
2017-09-28Merge branch 'master' into 4466-compliance_check_setsGuillaume
2017-09-27Refs #4615 Resolve rebase conflictcedricnjanga
2017-09-27Refactoring controller spec - add compliance controle type supportXinhui
2017-09-27Move ComplianceControl#index into ComplianceControlSet#showXinhui
Refs #4579
2017-09-26Fixes: #4440@0.5h;Robert
Added Controller Spec Fixed Older Specs
2017-09-26show compliance_control_set in compliance_check_set table, fix ↵Guillaume
compliance_check_set spec
2017-09-25add compliance_check_sets structure Refs #3564Guillaume
2017-09-19Merge pull request #69 from af83/4431-permission-renamingLuc Donnet
Fixes: #4431@0.16666666666666666h;
2017-09-18add create/edit for compliance_control_set, add specsGuillaume
2017-09-18Merge branch '4467_compliance_control_crud' into 4466-compliance_control_setsGuillaume
2017-09-14create base structure for compliance_control_setsGuillaume
2017-09-14ComplianceControl Controller4467_compliance_control_crudXinhui
Refs #4467
2017-09-14Fixes: #4431@0.16666666666666666h;4431-permission-renamingRobert
2017-09-11merged with masterRobert
2017-09-11Fixes #4189@4h Route DuplicationRobert
* Duplication of Route is triggered by link and UI forwarded to edit of duplicatee - Changing route, only POST duplicate_referential_line_route --> RoutesController#duplicate - Removing route GET duplicate_referential_line_route --> RoutesController#duplicate - Removing controller action RoutesController#post_duplicate * Link in Route Decorator depends on new policy RoutePolicy#decorate? * Adapting specs
2017-09-05Clean up compliance checks existing code Refs #4389 @1Luc Donnet
2017-08-23Refactoring spec api import#createXinhui
2017-08-23API - WorkbenchImport #create actionXinhui
Refs #4280
2017-08-22API - workbench imports controllerXinhui
2017-08-22Rspec api iboo controllerXinhui
2017-08-22API - Rspec basic auth api controllerXinhui
2017-08-22API - new end point for workbenchesXinhui
2017-08-22API - Iboo controller for basic auth end pointsXinhui
2017-08-11RoutesController: Add separate method for POST /duplicateTeddy Wing
Send POST requests for duplication to a new controller method so we can more easily handle them and separate setup and creation code. Note that the test doesn't work. The `to change` part succeeds even though it shouldn't. Still need to figure out what's going on there, but committing this to hand off the feature to Robert. Refs #4189