Files
codeocean/spec/support/i18n_export.rb
2023-11-23 14:42:10 +01:00

10 lines
314 B
Ruby

# frozen_string_literal: true
RSpec.configure do |config|
config.before(:suite) do
# In local development, we do not want to precompile assets explicitly.
# Therefore, we might need to export the translations before running the tests.
system('bundle exec i18n export') if ENV['CI'].blank?
end
end