Sha256: 10fce7c2ed0a97140f1c2c97c89988a9938c11c2c7aca754aa88b38984c7d48a

Contents?: true

Size: 619 Bytes

Versions: 39

Compression:

Stored size: 619 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'

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

39 entries across 39 versions & 1 rubygems

Version Path
localeapp-1.0.0 spec/spec_helper.rb
localeapp-0.9.3 spec/spec_helper.rb
localeapp-0.9.2 spec/spec_helper.rb
localeapp-0.9.1 spec/spec_helper.rb
localeapp-0.9.0 spec/spec_helper.rb
localeapp-0.8.1 spec/spec_helper.rb
localeapp-0.8.0 spec/spec_helper.rb
localeapp-0.7.2 spec/spec_helper.rb
localeapp-0.7.1 spec/spec_helper.rb
localeapp-0.7.0 spec/spec_helper.rb
localeapp-0.6.14 spec/spec_helper.rb
localeapp-0.6.13 spec/spec_helper.rb
localeapp-0.6.12 spec/spec_helper.rb
localeapp-0.6.10 spec/spec_helper.rb
localeapp-0.6.9 spec/spec_helper.rb
localeapp-0.6.8 spec/spec_helper.rb
localeapp-0.6.7 spec/spec_helper.rb
localeapp-0.6.6 spec/spec_helper.rb
localeapp-0.6.5 spec/spec_helper.rb
localeapp-0.6.4 spec/spec_helper.rb