diff options
| author | Guillaume | 2017-09-26 16:29:20 +0200 |
|---|---|---|
| committer | Guillaume | 2017-09-26 16:29:20 +0200 |
| commit | efce9eac3812c005409ce87028877e4a40724949 (patch) | |
| tree | 60d9269402b9ee2738fbf3251fc6ced8a18c7f64 /spec | |
| parent | 1488ced811f3b1ec2f3d3b8e4d1a48f4fb35f91f (diff) | |
| download | chouette-core-efce9eac3812c005409ce87028877e4a40724949.tar.bz2 | |
show compliance_control_set in compliance_check_set table, fix compliance_check_set spec
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/controllers/compliance_check_sets_controller_spec.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/spec/controllers/compliance_check_sets_controller_spec.rb b/spec/controllers/compliance_check_sets_controller_spec.rb index 5f5cea82f..804b0a658 100644 --- a/spec/controllers/compliance_check_sets_controller_spec.rb +++ b/spec/controllers/compliance_check_sets_controller_spec.rb @@ -5,18 +5,16 @@ RSpec.describe ComplianceCheckSetsController, type: :controller do let(:compliance_check_set) { create :compliance_check_set } - workbench_compliance_check_sets_path(current_offer_workbench) - describe "GET show" do it 'should be successful' do - get :show, id: compliance_check_set.id + get :show, workbench_id: compliance_check_set.workbench.id, id: compliance_check_set.id expect(response).to be_success end end describe "GET index" do it 'should be successful' do - get :index, id: compliance_check_set.id + get :index, workbench_id: compliance_check_set.workbench.id, id: compliance_check_set.id expect(response).to be_success end end |
