Sha256: 9f576cf54c1a968f35e62d6e2627d796e0ae2b5248ede290214e4fac1326e4b1
Contents?: true
Size: 361 Bytes
Versions: 16
Compression:
Stored size: 361 Bytes
Contents
# frozen_string_literal: true RSpec.configure do |config| config.before(:suite) do I18n.config.enforce_available_locales = false end config.around(:each) do |example| I18n.available_locales = %w(en ca es) Decidim.available_locales = %w(en ca es) previous_locale = I18n.locale example.run I18n.locale = previous_locale end end
Version data entries
16 entries across 16 versions & 2 rubygems