diff options
| author | Zog | 2018-02-08 16:41:35 +0100 |
|---|---|---|
| committer | Luc Donnet | 2018-02-21 15:29:35 +0100 |
| commit | 3c1ae31e89179a2f1b2dc37340990cf29e9c0184 (patch) | |
| tree | 9fb415adf3dafee00010e7e9d6647b83c1be165b /spec | |
| parent | bcb9a2a7e915a1158427e16342dbaa700ce4ee5d (diff) | |
| download | chouette-core-3c1ae31e89179a2f1b2dc37340990cf29e9c0184.tar.bz2 | |
Fix specs
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/views/referentials/show.html.erb_spec.rb | 2 |
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 |
