aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models
diff options
context:
space:
mode:
authorZog2018-06-01 12:10:11 +0200
committerZog2018-06-01 12:10:11 +0200
commit1e6b830a083e4c30f9f65c7fa51a9f066742f66d (patch)
tree5bd2e7e6b6685246f95f8b887f451ec9d050a5c3 /spec/models
parent12b974e13538b9f1952e4282c88d1b1a913c7f84 (diff)
downloadchouette-core-6979-ruby-controls-sets.tar.bz2
Refs #6979; Flag controls intended to be handled by the Java third-party app6979-ruby-controls-sets
And prevent calls to the java API when it is not needed
Diffstat (limited to 'spec/models')
-rw-r--r--spec/models/compliance_check_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/models/compliance_check_spec.rb b/spec/models/compliance_check_spec.rb
index ffa59245c..cfceaa094 100644
--- a/spec/models/compliance_check_spec.rb
+++ b/spec/models/compliance_check_spec.rb
@@ -4,6 +4,10 @@ RSpec.describe ComplianceCheck, type: :model do
expect(FactoryGirl.build(:compliance_check)).to be_valid
end
+ it 'should rely on IEV by default' do
+ expect(FactoryGirl.build(:compliance_check).iev_enabled_check).to be_truthy
+ end
+
it 'has STI disabled' do
expect( described_class.inheritance_column ).to be_blank
end