aboutsummaryrefslogtreecommitdiffstats
path: root/spec/features/networks_spec.rb
diff options
context:
space:
mode:
authorLuc Donnet2018-01-03 11:57:42 +0100
committerLuc Donnet2018-01-03 11:57:42 +0100
commit7cce4762c11e7d1e78433f6f88d2e12928c398dc (patch)
tree3084d95692a70f9c5d5a842aae6f4ec0ea07a1c3 /spec/features/networks_spec.rb
parent6497b23e18385121974f6cbf56d48caf897e69b1 (diff)
parent414d0f6c4dd992696354757c4ae700952a7e4dd9 (diff)
downloadchouette-core-7cce4762c11e7d1e78433f6f88d2e12928c398dc.tar.bz2
Merge branch 'master' into 5024-prevent-duplicate-referentials-from-being-created-during-parallel-db-transactions--rb201711271659
Diffstat (limited to 'spec/features/networks_spec.rb')
-rw-r--r--spec/features/networks_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/networks_spec.rb b/spec/features/networks_spec.rb
index 19f17d900..8586b2a16 100644
--- a/spec/features/networks_spec.rb
+++ b/spec/features/networks_spec.rb
@@ -4,7 +4,7 @@ require 'spec_helper'
describe "Networks", type: :feature do
login_user
- let(:line_referential) { create :line_referential }
+ let(:line_referential) { create :line_referential, member: @user.organisation }
let!(:networks) { Array.new(2) { create(:network, line_referential: line_referential) } }
subject { networks.first }