Noticed that the user/org's language settings were not being factored in during testing. Updated application controller to use the current user's language or the org's language if available. The locale is only set in the session if the user is logged in now. also fixed to some functional tests.
dev
1 parent 72061ad commit 29abde3db5a7308f293612b6c986d03875420db3
@briley briley authored on 20 Mar 2017
Showing 3 changed files
View
app/controllers/application_controller.rb
View
test/functional/answers_controller_test.rb
View
test/functional/application_controller_test.rb