diff options
| author | Teddy Wing | 2017-11-02 18:30:31 +0100 |
|---|---|---|
| committer | cedricnjanga | 2017-11-13 17:52:54 +0100 |
| commit | d3c747d149046a864f3be69daf03b2393ca53dc6 (patch) | |
| tree | 04ccaec9205cbd8d96e57c9e956d456f58c8a242 /spec/controllers/api | |
| parent | 95095886ceb51a2036eea6ffda103d3ad590322b (diff) | |
| download | chouette-core-d3c747d149046a864f3be69daf03b2393ca53dc6.tar.bz2 | |
Add route stub for validation finalisation
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
Diffstat (limited to 'spec/controllers/api')
| -rw-r--r-- | spec/controllers/api/v1/compliance_check_sets_controller_spec.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/controllers/api/v1/compliance_check_sets_controller_spec.rb b/spec/controllers/api/v1/compliance_check_sets_controller_spec.rb new file mode 100644 index 000000000..c9c58c7cb --- /dev/null +++ b/spec/controllers/api/v1/compliance_check_sets_controller_spec.rb @@ -0,0 +1,7 @@ +RSpec.describe Api::V1::ComplianceCheckSetsController, type: :controller do + describe "POST #validate" do + it "calls [that thing that updates statuses on ComplianceCheckX]" do + post :validated, params: { id: 5 } + end + end +end |
