diff options
| -rw-r--r-- | spec/decorators/referential_decorator_spec.rb | 2 | ||||
| -rw-r--r-- | spec/helpers/table_builder_helper_spec.rb | 1 | 
2 files changed, 3 insertions, 0 deletions
| diff --git a/spec/decorators/referential_decorator_spec.rb b/spec/decorators/referential_decorator_spec.rb index 16da8d30b..3959a5924 100644 --- a/spec/decorators/referential_decorator_spec.rb +++ b/spec/decorators/referential_decorator_spec.rb @@ -34,6 +34,7 @@ RSpec.describe ReferentialDecorator, type: [:helper, :decorator] do            expect_action_link_hrefs.to eq([              referential_time_tables_path(object),              new_referential_path(from: object), +            referential_select_compliance_control_set_path(object)            ])          end        end @@ -46,6 +47,7 @@ RSpec.describe ReferentialDecorator, type: [:helper, :decorator] do            expect_action_link_hrefs.to eq([              referential_time_tables_path(object),              new_referential_path(from: object), +            referential_select_compliance_control_set_path(object),              archive_referential_path(object),              referential_path(object)            ]) diff --git a/spec/helpers/table_builder_helper_spec.rb b/spec/helpers/table_builder_helper_spec.rb index e17196a19..ea26974c5 100644 --- a/spec/helpers/table_builder_helper_spec.rb +++ b/spec/helpers/table_builder_helper_spec.rb @@ -81,6 +81,7 @@ describe TableBuilderHelper, type: :helper do                          <li><a href="/referentials/#{referential.id}/edit">Editer</a></li>                          <li><a href="/referentials/#{referential.id}/time_tables">Calendriers</a></li>                          <li><a href="/referentials/new?from=#{referential.id}">Dupliquer</a></li> +                        <li><a href="/referentials/#{referential.id}/select_compliance_control_set">Valider</a></li>                          <li><a rel="nofollow" data-method="put" href="/referentials/#{referential.id}/archive">Conserver</a></li>                          <li class="delete-action"><a data-confirm="Etes vous sûr de vouloir supprimer ce jeu de données ?" rel="nofollow" data-method="delete" href="/referentials/#{referential.id}"><span class="fa fa-trash mr-xs"></span>Supprimer</a></li>                      </ul> | 
