aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/routes_controller_spec.rb
AgeCommit message (Collapse)Author
2018-04-23Refs #6634; Fix checksum issues with duplicated routes6634-update-checksum-on-duplicated-routesZog
2018-04-10Refs #6481; Add a spec to ensure we d'ont alter the original route when ↵Zog
duplicating it
2018-04-09Refs #6367; Add metadata to other versioned modelsZog
2018-04-04Refs #6226; Add spec6226-create-opposite-routeZog
2018-04-04Refs 6226; Add a button to create opposite routesZog
2018-03-22Remove maps code. Refs #6296Alban Peignier
2017-11-22Change the use of namespace and remove modulescedricnjanga
2017-11-22Merge branch 'master' into 4941-refactoring_object_idcedricnjanga
2017-11-20Change the use of namespace and remove modulescedricnjanga
2017-11-09Refs #4932 Change route duplication to redrect to routes#indexcedricnjanga
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-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
2017-08-11Add views/routes/duplicate.html.slimTeddy Wing
Duplicate of new.html.slim for now just to get the page working. Refs #4189
2017-08-11routes_controller_spec.rb: Convert to new Ruby hash syntaxTeddy Wing
2017-08-11routes_controller_spec.rb: Use lazy letTeddy Wing
Don't force creation of the `route`, create it lazily. Refs #4189
2017-08-11routes_controller_spec.rb: Remove old commented testTeddy Wing
This test was commented out in 2015. Safe to say we can remove it now.
2017-08-11routes_controller_spec.rb: Clean up whitespaceTeddy Wing
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-04-11Deprecation Warnings removed; Seeds corrected, Refs: #2070RobertDober
2015-12-16Add route_sections for tracesBruno Perles
2015-03-10Merging intermediate stateZakaria BOUZIANE
2015-02-17Upgrading FactoryGirl to V4.5.0Zakaria BOUZIANE
2015-01-15Fix tests and merge masterLuc Donnet
2015-01-07Fix spec and update devise usageLuc Donnet
2015-01-05Initialize rails 4 migrationLuc Donnet
2012-08-08workaround : stop_point factory does not provide stop_area which is mandatoryMichel Etienne
2012-08-02redefine spec for updatesMichel Etienne
2012-06-29Use controller as helpers in Map to create correct paths. Refs #4Alban Peignier
2012-06-27Use when possible a first referential created before the spec transactionAlban Peignier
2012-05-16refactor stop_pointsMarc Florisson