Sha256: 313b73af49d42ad8e3dda7dfe0c7c5d62d84fb4467a4177335154c6af82bf962

Contents?: true

Size: 656 Bytes

Versions: 4

Compression:

Stored size: 656 Bytes

Contents

require 'i18n'
require 'localeapp'
require 'fakeweb'
require 'support/localeapp_integration_data'
require 'support/localeapp_synchronization_data'
require 'support/i18n/missing_translation'
require 'logger'

I18n.config.available_locales = :en

def with_configuration(options = {})
  Localeapp.configuration = nil
  Localeapp.configure do |configuration|
    options.each do |option, value|
      configuration.send("#{option}=", value)
    end
  end
  yield
end

RSpec.configure do |config|
  config.include(LocaleappIntegrationData)
  config.include(LocaleappSynchronizationData)
  config.before(:each) do
    FakeWeb.allow_net_connect = false
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
localeapp-2.1.0 spec/spec_helper.rb
localeapp-2.0.0 spec/spec_helper.rb
localeapp-1.0.2 spec/spec_helper.rb
localeapp-1.0.1 spec/spec_helper.rb