aboutsummaryrefslogtreecommitdiffstats
path: root/spec/features
AgeCommit message (Collapse)Author
2017-11-03 Fixes: #4802@1h;Robert
CR 3rd (and hopefully last) part - more typo corrections - reactivating deactivated specs - fixed reactivated specs
2017-11-02 Refs: #4802@2h; Replaying former work. To identify spec regressionRobert
Step 2: Added validation of reference->workbench->organisation consistency Made all specs pass Chased bug #4826
2017-10-31Fixes: #4774@1h;Robert
Filter Feature Spex of ComplianceControlSet#show implemented
2017-10-31Refs: #4774@2h; Debugging feature specs, added ↵Robert
ComplianceControl.subclass_patterns [amend me] [skip-ci]
2017-10-31Refs: #4774@3h;Robert
Speced feature compliance_control_set/show and filtering on Severity MISSING: Object Filter needs 2B specified
2017-10-31Refs: #4774;Robert
DB Setup for specs
2017-10-02Refs #4665cedricnjanga
Add a controller concern to deal with date filters
2017-09-30Update API Key features spec to use /dashboard page. Refs #4655Alban Peignier
2017-09-30Update 'New API Key' feature spec to use /dashboard page. Refs #4655Alban Peignier
2017-09-15Refs: #4446@1.5h;Robert
* Make failing /delete_api_key_feature_spec pending - Seems Capybara only sees html from the partial api_keys/_form, but not the parent api_keys/edit, which happens to contain the delete link :( * ApiKeyPolicy adapted - update? depends on record's organisation as no referential present - create? depends on user's permission only as organisation will be correct anyway
2017-09-15Refs: #4446@0.3h; Integrated Policy Specs of #4442 and adapting them to the ↵Robert
needs of #4446
2017-09-14Refs: #4446@1h; Api Keys Edit feature specedRobert
2017-09-14Refs: #4446@0.7438h; Creation feature specedRobert
2017-09-14Refs: #4446@1h; Migration, using VPN for app, clarification of specs --> ↵Robert
Ticket in Feedback
2017-09-12Change some specs to have all the wokbenches name to be 'Gestion de l'offre' ↵cedricnjanga
like in application controller
2017-09-11Update of ReferentialsController#new :cedricnjanga
- Add some context to referential and workbench decorator to access current_referential and assign it to the cloned referential - Add a build_referential method to avoir duplicates of code (in the controller and in the model), need to clean a bit more - Need to add some Spec features to take into account the functional scope of the current_user
2017-09-06Resolve merge conflictcedricnjanga
2017-09-05Remove typocedricnjanga
2017-09-05Referential#new_from :cedricnjanga
Added params to certains paths to have the workbench_id in it. The goal is to have the current workbench_id to assign it when do a Referential#new_from Then I finished the use of the functional scope to avoid potential errors I skipped some tests that hve a #TODO so we can easily find them
2017-09-04Skip temporarily workbench testcedricnjanga
2017-09-04add some change for the Referential#new_from to only have a line collection ↵cedricnjanga
regarding the functional scope of the current organozation
2017-08-31Merge branch 'master' into stif_netex_objectidXinhui
2017-08-31Fix features spec connection_linksXinhui
2017-07-26Fix workbench I18n specsjpl
2017-07-12routes_spec.rb: Remove reference to `ReferentialLines#index`Teddy Wing
That route has been removed. Fix the test to ensure it doesn't get accessed, but still performs what was previously tested. Refs #3479
2017-07-12referential_lines_spec.rb: Remove `#index` specsTeddy Wing
Now that I removed the `ReferentialLinesController#index` method and template (c7ceb38801b853154cdae31672ff2c105c8b191f), it no longer makes sense to keep these tests around. Refs #3479
2017-07-10Refs: #4021@1.5h; Added spec for incorrectly shown `Créer` button on ↵Robert
calenders#index view and made them pass
2017-07-06Refs:#3478@10h;Robert
Policy Refactoring and Policy Test Completion - All policies (and all permissions) under test. - Common patterns and potential problems identified... - ... and documented in DEVNOTES.md - some simply refactorings
2017-07-04Refs: #3478@1h removed boiv-read-offer and BoivPolicyRobert
2017-07-04Refs: #3478@1hRobert
newapplication helper default authorization, (no if) -> * DefaultPolicy (all true) * Add some policies (LinePolicy) * Use `boiv:read` pour show, index * Adapted `table_builder`
2017-07-04Refs #3961: updating wordingjpl
2017-07-04Fix workbench#show should keep filtering on sortXinhui
Refs #3871
2017-07-04Workbench#show filter by validity_period feature specXinhui
2017-07-03Workbench#show filtering restore q_for_resultXinhui
2017-07-03Refactoring workbench_controller ransack_statusXinhui
refs #3936
2017-07-03Refactoring workbench spec featuresXinhui
2017-06-27conflicts resolvedRobert
2017-06-22Refs: #3595@3h; fixing tests, evaluating timeliness gem :(Robert
2017-06-20Refs: #3595@3h; calendars/new Date validationRobert
2017-06-19referentials_permissions_spec.rb: Fix failure from `#destroy_link_content`Teddy Wing
Now, destroy ("Supprimer") buttons in the header get rendered without a `<span>` tag surrounding the text inside the button. This is because I consolidated the HTML structure of the delete buttons inside table gear menus and the header. The ones in the gear menus had no span, and these in the header do. In both places, we're now using `LinksHelper#destroy_link_content` to generate the contents of the button, making the contents uniform in both contexts. This means, however, that the markup is not the same for header buttons, which now have their inner `<span>` tag removed. Update the test to reflect this. Also, the styling breaks when I updated the markup, but Jean-Paul offered to fix that. Refs #3479
2017-06-16Remove fields from referential newXinhui
Refs #3657
2017-06-06Refs #3488: updating itl#showjpl
2017-06-02Fix spec calendar filtering by nameXinhui
2017-05-31Refs: #3326; Policy application in referentials/showRobert
2017-05-31hotfixRobert
2017-05-31conflict resolvedRobert
2017-05-31hotfix invalid spec (missing field route_public_name)Robert
2017-05-31Refs #3611: fix testsjpl
2017-05-29Refs: #3385; basic policy for boiv:*Robert
2017-05-24Fixes #3446; adding routing_contstraint_zones policiesRobert