aboutsummaryrefslogtreecommitdiffstats
path: root/spec/features
diff options
context:
space:
mode:
authorAlban Peignier2017-12-28 09:18:38 +0100
committerAlban Peignier2017-12-28 09:18:38 +0100
commit98d04c413320e157b06da33ef73e89a8120c9498 (patch)
treef7490a3ee1ca06bae7c174786d204a0c4f61c2cf /spec/features
parent9100a5899ebc63747fc1df9ca1f964989e07e448 (diff)
downloadchouette-core-98d04c413320e157b06da33ef73e89a8120c9498.tar.bz2
Associate current organisation with tested StopAreaReferential in StopArea features specs. Refs #51115111-begin_of_association_chain
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/stop_areas_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/stop_areas_spec.rb b/spec/features/stop_areas_spec.rb
index 6afb22bc6..668eb2fa3 100644
--- a/spec/features/stop_areas_spec.rb
+++ b/spec/features/stop_areas_spec.rb
@@ -4,7 +4,7 @@ require 'spec_helper'
describe "StopAreas", :type => :feature do
login_user
- let(:stop_area_referential) { create :stop_area_referential }
+ let(:stop_area_referential) { create :stop_area_referential, member: @user.organisation }
let!(:stop_areas) { Array.new(2) { create :stop_area, stop_area_referential: stop_area_referential } }
subject { stop_areas.first }