diff options
| author | Zog | 2017-12-27 14:22:16 +0100 | 
|---|---|---|
| committer | Zog | 2017-12-27 14:22:16 +0100 | 
| commit | b191b68d3580e29a3879d7178d3fb4bb56c6c96f (patch) | |
| tree | 438c9de77c79bd9aedfa8779dcdc4befa42eb46d /spec | |
| parent | 607fa5e03289a10b60a773bc40af38f1d721bbea (diff) | |
| download | chouette-core-b191b68d3580e29a3879d7178d3fb4bb56c6c96f.tar.bz2 | |
Refs #5407; Fix CI
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/controllers/vehicle_journeys_controller_spec.rb | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/controllers/vehicle_journeys_controller_spec.rb b/spec/controllers/vehicle_journeys_controller_spec.rb index c9356fffa..416450c21 100644 --- a/spec/controllers/vehicle_journeys_controller_spec.rb +++ b/spec/controllers/vehicle_journeys_controller_spec.rb @@ -10,6 +10,7 @@ RSpec.describe VehicleJourneysController, :type => :controller do      before do        allow(controller).to receive(:pundit_user).and_return(user_context) +      allow(controller).to receive(:current_organisation).and_return(@user.organisation)      end      it 'computes them correctly if not authorized' do  | 
