Sha256: 40bbdf5f442e03d3ec6dd7f083511d47bd18c0df7e9d0b2c26199c16fa18fbfa

Contents?: true

Size: 580 Bytes

Versions: 1

Compression:

Stored size: 580 Bytes

Contents

require 'i18n'
require 'locale_app'
require 'fakeweb'
require 'support/locale_app_integration_data'
require 'support/locale_app_synchronization_data'
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

1 entries across 1 versions & 1 rubygems

Version Path
localeapp-0.0.7 spec/spec_helper.rb