diff options
| author | Xinhui | 2017-09-05 16:08:37 +0200 |
|---|---|---|
| committer | Xinhui | 2017-09-05 16:46:19 +0200 |
| commit | 26affe0da7bb7987e54c862e40acd4db8641d162 (patch) | |
| tree | 2ba948d850c0a403fdf4351372b79edca04f29b9 /spec/models | |
| parent | 92703917b31cbaf7f4e5e1bafd009eee2d26c6a1 (diff) | |
| download | chouette-core-26affe0da7bb7987e54c862e40acd4db8641d162.tar.bz2 | |
Model ComplianceCheckBlock
Refs #4387
Diffstat (limited to 'spec/models')
| -rw-r--r-- | spec/models/compliance_check_block_spec.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/models/compliance_check_block_spec.rb b/spec/models/compliance_check_block_spec.rb new file mode 100644 index 000000000..f581d5085 --- /dev/null +++ b/spec/models/compliance_check_block_spec.rb @@ -0,0 +1,9 @@ +require 'rails_helper' + +RSpec.describe ComplianceCheckBlock, type: :model do + it 'should have a valid factory' do + expect(FactoryGirl.build(:compliance_check_block)).to be_valid + end + + it { should belong_to :compliance_check_set } +end |
