aboutsummaryrefslogtreecommitdiffstats
path: root/spec/views
diff options
context:
space:
mode:
authorZog2018-02-08 16:41:35 +0100
committerLuc Donnet2018-02-21 15:29:35 +0100
commit3c1ae31e89179a2f1b2dc37340990cf29e9c0184 (patch)
tree9fb415adf3dafee00010e7e9d6647b83c1be165b /spec/views
parentbcb9a2a7e915a1158427e16342dbaa700ce4ee5d (diff)
downloadchouette-core-3c1ae31e89179a2f1b2dc37340990cf29e9c0184.tar.bz2
Fix specs
Diffstat (limited to 'spec/views')
-rw-r--r--spec/views/referentials/show.html.erb_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/views/referentials/show.html.erb_spec.rb b/spec/views/referentials/show.html.erb_spec.rb
index a7f37d180..8a6952b16 100644
--- a/spec/views/referentials/show.html.erb_spec.rb
+++ b/spec/views/referentials/show.html.erb_spec.rb
@@ -11,6 +11,8 @@ describe "referentials/show", type: :view do
let(:organisation){ referential.try(:organisation) }
let(:permissions){ [] }
let(:current_organisation) { organisation }
+ let(:organisation) { referential.organisation }
+ #let(:current_offer_workbench) { create :workbench, organisation: current_organisation}
let(:readonly){ false }
before :each do