| Age | Commit message (Collapse) | Author |
|
|
|
associated Workbench
- changed ObjectIdFormatterSupport as requested
- respeced all defined cases
- implemented respec
Missing:
What to do in `define_default_attributes` if ref has no workbench and no `objectid_format`?
|
|
|
|
|
|
We now always use modules for namespaces
=> same structure for models, decorators, policies...
|
|
4823 compliance check show
|
|
- Implements the view
Missing:
- Spex failing (xpath navigation inside the display blocks is still faulty)
- Links to compliance_checks#show do not work (actually not this page's problem)
|
|
after_commit on: :create
|
|
- using webmock instead of mocking Net::HTTP
therefore removing the connascence between the spec and the
HTTP lib used in the implementation, thank you Teddy
|
|
|
|
|
|
spurious directories
- Speced and implemented
Missing:
- Exact message parameters (change key from xxx, how to add names of spurious directories)
|
|
- Discussing Spec
- Speced and implemented the corrupt zipfile part
Next:
- Spec incorrect directory structure part
- Implement incorrect directory structure part
|
|
Validation implemented for min_max_values with correct I18n'd error messages
Applied to: VehicleJourneyControl::Speed & GenericAttributeControl::MinMax
|
|
- setting up a CCCLD subdir struct for CCCLD related tests
- removed all occcurances of `@@default_criticity`
|
|
- Rebase on udated master
- Removal of `default_criticity` from ComplianceControl Class Level Defaults
- Refactoring of specs to allow usage of the same shared examples (given that more models need to undergo the same refact)
|
|
Comprehensive Tests for ComplianceControl Class Level Default Attributes
|
|
Got some data_modifier support for attribute generation w/w-o defaults for model tests generic_attribute_control
|
|
(Compliance Control)
|
|
af83/3520-workbench--add-output-association-to-ReferentialSuite
3520 workbench add output association to referential suite
|
|
Instead of creating the objects directly in ActiveRecord, use our
existing factories for these records as suggested by Robert.
Refs #3520
|
|
Added Controller Spec
Fixed Older Specs
|
|
|
|
Since the `output` attribute is now initialised automatically in the
`Workbench#initialize_output` `before_validation` callback, the one I
added here before I created the callback can be removed. Instead we'll
rely on the callback to create a new `ReferentialSuite` for us.
Refs #3520
|
|
Ensure all workbenches always have an associated `ReferentialSuite` by
validating presence of the `output` attribute.
In order to pass the 'should have a valid factory' test, we need to
define a `ReferentialSuite` factory and set up a default association on
`output` in the `Workbench` factory.
We also need to add set `output` when creating a `Workbench` in
`spec/support/referential.rb`, otherwise we get a validation error that
breaks the tests. Clean up the formatting of that call. In order to pass
a `ReferentialSuite`, I just create one above, but I'm not sure if I
should be using a `find_or_create` mechanism like the other associated
objects do above.
Refs #3520
|
|
|
|
|
|
|
|
4189 duplicate route
|
|
like in application controller
|
|
|
|
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
|
|
Refs #4280
|
|
|
|
organisation code
|
|
|
|
`Chouette::Route#duplicate`
|
|
|
|
Chouette::StopPoint#duplicate
With the following unspecified behaviour concerning `objectid` and `object_version`
- The duplicated Route objectid is passed into Route#duplicate
- The duplicated StopPoint objectids are constructed from the source's objectids (parts 2 & 3) and the route's objectid (part 1)
- the duplicated Route object_version equals the source's one
|
|
|
|
3507 1726 impl workbench import
|
|
|
|
|
|
|
|
lib/stif/permission_translator
|
|
- Setting up correct headers for the Webmock request (Oh Boy)
- Refactoring all Faraday requests into `lib/af83/http_fetcher.rb`
- Implementing the Download
|
|
|
|
- Carrier Wave Upload with `fixture_file_upload`
- Request specs to .json
- Implementation
- API token setup
- Refuted experiments with controller specs
|
|
|
|
Refs #3845
|