Sha256: 4e07e2daf0e09dfe36c13f0e1c49dcabc9a302ff230427ee69344a2706ec2b1a
Contents?: true
Size: 360 Bytes
Versions: 7
Compression:
Stored size: 360 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
7 entries across 7 versions & 2 rubygems