diff options
| author | Teddy Wing | 2017-06-15 11:18:16 +0200 |
|---|---|---|
| committer | Teddy Wing | 2017-06-15 11:18:16 +0200 |
| commit | 68e87d50bee6789a1a2377d05c9a9656569b99b6 (patch) | |
| tree | d838d99ce7195888871756e9027c8933adc7b6f3 | |
| parent | 2a7b858f9bd5a8b2a8bd8b9913ab39e24201e89f (diff) | |
| download | chouette-core-68e87d50bee6789a1a2377d05c9a9656569b99b6.tar.bz2 | |
TableBuilder spec: Remove table actions duplicated by decorator
The `ReferentialDecorator` duplicates the [:archive, :unarchive,
:delete] actions, so we should remove these from our test like we did
previously in the "workbenches/show.html.slim" template.
Refs #3479
| -rw-r--r-- | spec/helpers/table_builder_helper_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/table_builder_helper_spec.rb b/spec/helpers/table_builder_helper_spec.rb index 86bc02093..c1fe71fb4 100644 --- a/spec/helpers/table_builder_helper_spec.rb +++ b/spec/helpers/table_builder_helper_spec.rb @@ -152,7 +152,7 @@ describe TableBuilderHelper, type: :helper do ) ], selectable: true, - links: [:show, :edit, :archive, :unarchive, :delete], + links: [:show, :edit], cls: 'table has-filter has-search' ) |
