diff options
| author | Robert | 2017-11-03 10:31:47 +0100 |
|---|---|---|
| committer | Robert | 2017-11-08 17:26:26 +0100 |
| commit | 8c126ac88f031100e0f7001f1c2b0a3bdc95980d (patch) | |
| tree | 29937c41f2ebbca2f0e73302a938badf0c03dc0f | |
| parent | 0fc367c0095839f5089d5807767c1319e3d94ec0 (diff) | |
| download | chouette-core-8c126ac88f031100e0f7001f1c2b0a3bdc95980d.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 |
