diff options
| author | Robert | 2017-11-13 13:19:06 +0100 |
|---|---|---|
| committer | Robert | 2017-11-17 14:57:36 +0100 |
| commit | e4d75876d5bd9a4560133395f119abc05dc00b3d (patch) | |
| tree | fe91dc719a7acb9b50c1f50e42f5adf3516900a2 /spec | |
| parent | 52f185193aea2e47feff0aa9b395ee67b86608f1 (diff) | |
| download | chouette-core-e4d75876d5bd9a4560133395f119abc05dc00b3d.tar.bz2 | |
Refs: #4823@1.7h; CodeReview #show -> #executed
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/controllers/compliance_check_sets_controller_spec.rb | 4 | ||||
| -rw-r--r-- | spec/features/compliance_ckeck_sets_spec.rb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/spec/controllers/compliance_check_sets_controller_spec.rb b/spec/controllers/compliance_check_sets_controller_spec.rb index 804b0a658..3ddb1dad1 100644 --- a/spec/controllers/compliance_check_sets_controller_spec.rb +++ b/spec/controllers/compliance_check_sets_controller_spec.rb @@ -5,9 +5,9 @@ RSpec.describe ComplianceCheckSetsController, type: :controller do let(:compliance_check_set) { create :compliance_check_set } - describe "GET show" do + describe "GET executed" do it 'should be successful' do - get :show, workbench_id: compliance_check_set.workbench.id, id: compliance_check_set.id + get :executed, workbench_id: compliance_check_set.workbench.id, id: compliance_check_set.id expect(response).to be_success end end diff --git a/spec/features/compliance_ckeck_sets_spec.rb b/spec/features/compliance_ckeck_sets_spec.rb index 9d04ef200..c8fb16c93 100644 --- a/spec/features/compliance_ckeck_sets_spec.rb +++ b/spec/features/compliance_ckeck_sets_spec.rb @@ -19,10 +19,10 @@ RSpec.describe "ComplianceCheckSets", type: :feature do let!(:direct_checks){ make_check(nil, times: 2) + make_check(nil, severity: :error) } let!(:indirect_checks){ blox.map{ |block| make_check(block) } } - context 'show' do + context 'executed' do before do - visit(compliance_check_set_path(compliance_check_set)) + visit(executed_compliance_check_set_path(compliance_check_set)) end it 'we can see the expected content' do |
