aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/compliance_check_set.rb
diff options
context:
space:
mode:
authorTeddy Wing2017-11-08 18:39:05 +0100
committercedricnjanga2017-11-13 17:52:54 +0100
commit9287427e6f57b9ef3cc0c0f075c9022f4ebfab16 (patch)
tree5c1ba2eef411e161a803f0c194a05f670d9221c6 /app/models/compliance_check_set.rb
parent89f518891cff138643eaa14977aa20a3ef01930d (diff)
downloadchouette-core-9287427e6f57b9ef3cc0c0f075c9022f4ebfab16.tar.bz2
ComplianceCheckSet#update_status: Add spec for successful children
Initial spec that checks the correct status field change when all `ComplianceCheckResource`s are successful. Refs #4757
Diffstat (limited to 'app/models/compliance_check_set.rb')
-rw-r--r--app/models/compliance_check_set.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/compliance_check_set.rb b/app/models/compliance_check_set.rb
index 536afc705..1dc02853a 100644
--- a/app/models/compliance_check_set.rb
+++ b/app/models/compliance_check_set.rb
@@ -18,4 +18,6 @@ class ComplianceCheckSet < ActiveRecord::Base
where('created_at BETWEEN :begin AND :end', begin: period_range.begin, end: period_range.end)
end
+ def update_status
+ end
end