Sha256: 2e9d339e21c257ef3590df5e1c696ce740ceae360e4f8f982ce514ec2868132c
Contents?: true
Size: 725 Bytes
Versions: 1
Compression:
Stored size: 725 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 'webmock/rspec' 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 require File.expand_path('lib/lolita-i18n') RSpec.configure do |config| config.mock_with :rspec config.before(:each) do Lolita::I18n.store.flushdb end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lolita-i18n-0.1.3 | spec/spec_helper.rb |