Sha256: 0f62c07aad7957357bf05b1fbb2849e78ae23cb828c5cc7b3dc9ac964730d238

Contents?: true

Size: 272 Bytes

Versions: 9

Compression:

Stored size: 272 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|
    previous_locale = I18n.locale
    example.run
    I18n.locale = previous_locale
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
decidim-0.0.5 decidim-dev/lib/decidim/dev/test/rspec_support/i18n.rb
decidim-0.0.1 decidim-dev/lib/decidim/test/rspec_support/i18n.rb
decidim-0.0.1.alpha9 decidim-dev/lib/decidim/test/rspec_support/i18n.rb
decidim-0.0.1.alpha8 decidim-dev/lib/decidim/test/rspec_support/i18n.rb
decidim-0.0.1.alpha7 decidim-dev/lib/decidim/test/rspec_support/i18n.rb
decidim-0.0.1.alpha6 decidim-dev/lib/decidim/test/rspec_support/i18n.rb
decidim-0.0.1.alpha5 decidim-dev/lib/decidim/test/rspec_support/i18n.rb
decidim-0.0.1.alpha4 decidim-dev/lib/decidim/test/rspec_support/i18n.rb
decidim-0.0.1.alpha3 decidim-dev/lib/decidim/test/rspec_support/i18n.rb