aboutsummaryrefslogtreecommitdiffstats
path: root/spec/helpers
diff options
context:
space:
mode:
authorRobert2018-01-08 10:09:37 +0100
committerRobert2018-01-08 10:09:37 +0100
commit0a69d409cded29a45ee3857f0a49c9a7a51d858a (patch)
tree84f8eaef50642b5f89ccce2fa401b3c5da4cafa3 /spec/helpers
parentfb9eb367b9c56c19df7f2e2301f4a417f5409d6d (diff)
downloadchouette-core-0a69d409cded29a45ee3857f0a49c9a7a51d858a.tar.bz2
Fixes: #5413@1h; Specs implemented
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 83b746d4b..8f22f2ad0 100644
--- a/spec/helpers/table_builder_helper_spec.rb
+++ b/spec/helpers/table_builder_helper_spec.rb
@@ -105,7 +105,7 @@ describe TableBuilderHelper, type: :helper do
TableBuilderHelper::Column.new(
key: :status,
attribute: Proc.new do |w|
- if w.archived?
+ if w.archived_or_finalised?
("<div class='td-block'><span class='fa fa-archive'></span><span>Conservé</span></div>").html_safe
else
("<div class='td-block'><span class='sb sb-lg sb-preparing'></span><span>En préparation</span></div>").html_safe