aboutsummaryrefslogtreecommitdiffstats
path: root/spec/helpers
diff options
context:
space:
mode:
authorTeddy Wing2017-06-15 11:18:16 +0200
committerTeddy Wing2017-06-15 11:18:16 +0200
commit68e87d50bee6789a1a2377d05c9a9656569b99b6 (patch)
treed838d99ce7195888871756e9027c8933adc7b6f3 /spec/helpers
parent2a7b858f9bd5a8b2a8bd8b9913ab39e24201e89f (diff)
downloadchouette-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
Diffstat (limited to 'spec/helpers')
-rw-r--r--spec/helpers/table_builder_helper_spec.rb2
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'
)