aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--spec/views/referentials/show.html.erb_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/views/referentials/show.html.erb_spec.rb b/spec/views/referentials/show.html.erb_spec.rb
index 4a2afe2ca..21d296441 100644
--- a/spec/views/referentials/show.html.erb_spec.rb
+++ b/spec/views/referentials/show.html.erb_spec.rb
@@ -10,6 +10,7 @@ describe "referentials/show", type: :view do
end
let(:permissions){ [] }
let(:current_organisation) { organisation }
+ let(:organisation) { referential.organisation }
let(:current_offer_workbench) { create :workbench, organisation: current_organisation}
let(:readonly){ false }