diff options
| author | Guillaume | 2017-11-06 17:01:58 +0100 | 
|---|---|---|
| committer | Guillaume | 2017-11-06 17:01:58 +0100 | 
| commit | 87642d0d28328f0e6e3a1928d6b6edbcdab72f4a (patch) | |
| tree | 83abbaa2fb017cbf7a8c8dce519bafe8ed7e865b | |
| parent | 59ef4a2d56035d5832a6fd9aeeb042f4ba544dea (diff) | |
| download | chouette-core-87642d0d28328f0e6e3a1928d6b6edbcdab72f4a.tar.bz2 | |
fix specs
| -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> | 
