Sha256: 2935c7cf1b60269fcac53e43af3644c78638f12af6330bd94dff73911d83129e
Contents?: true
Size: 746 Bytes
Versions: 2
Compression:
Stored size: 746 Bytes
Contents
require 'rubygems' require 'bundler' begin Bundler.setup(:default, :test) rescue Bundler::BundlerError => e $stderr.puts e.message $stderr.puts "Run `bundle install` to install missing gems" exit e.status_code end require 'rails' require 'lolita' require File.expand_path('lib/lolita-i18n') require 'webmock/rspec' require 'ruby-debug' if defined?(USE_RAILS) # require 'mongoid' # Mongoid.configure do |config| # config.master = Mongo::Connection.new('127.0.0.1', 27017).db("lolita-i18n-test") # end require File.expand_path("../rails_app/config/enviroment.rb",__FILE__) require "rspec/rails" end RSpec.configure do |config| config.mock_with :rspec config.before(:each) do Lolita.i18n.store.flushdb end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lolita-i18n-0.1.18 | spec/spec_helper.rb |
lolita-i18n-0.2.0 | spec/spec_helper.rb |