From 803d5e26bc7620a55aef005df3585ed93728dd93 Mon Sep 17 00:00:00 2001 From: Luc Donnet Date: Wed, 22 Apr 2015 11:37:37 +0200 Subject: Begin to fix spec --- app/controllers/api/v1/chouette_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/api') diff --git a/app/controllers/api/v1/chouette_controller.rb b/app/controllers/api/v1/chouette_controller.rb index c1d626adf..c9ba27eeb 100644 --- a/app/controllers/api/v1/chouette_controller.rb +++ b/app/controllers/api/v1/chouette_controller.rb @@ -17,7 +17,7 @@ private end end def switch_referential - Apartment::Tenant.switch(@api_key.referential.slug) + Apartment::Tenant.switch!(@api_key.referential.slug) end end -- cgit v1.2.3