diff options
| author | Robert | 2017-11-03 10:31:47 +0100 |
|---|---|---|
| committer | Robert | 2017-11-17 14:54:50 +0100 |
| commit | 36fec435004e595e2adbac72c8f634891a531b01 (patch) | |
| tree | 1cf6379771d46f578a64b7dbe0c112a0331ce14d | |
| parent | 1261698d213964a3391fe1880198da00e7ac9831 (diff) | |
| download | chouette-core-36fec435004e595e2adbac72c8f634891a531b01.tar.bz2 | |
Refs: #4823@1h; scaffolding feature spec, but blocked by #4826 [amend me] [skip-ci]
| -rw-r--r-- | spec/features/compliance_ckeck_sets_spec.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/spec/features/compliance_ckeck_sets_spec.rb b/spec/features/compliance_ckeck_sets_spec.rb new file mode 100644 index 000000000..a4a6b2fda --- /dev/null +++ b/spec/features/compliance_ckeck_sets_spec.rb @@ -0,0 +1,14 @@ +RSpec.describe "ComplianceCheckSets", type: :feature do + + login_user + + # We setup a control_set with two blocks and one direct control (meaning that it is not attached to a block) + # Then we add one control to the first block and two controls to the second block + let( :compliance_check_set ){ create :compliance_check_set } + + context 'show' do + it 'can visit the page' do + visit(workbench_compliance_check_set_path(compliance_check_set.workbench, compliance_check_set)) + end + end +end |
