Sha256: 0d32f02d5f05dd44337168850e6446de855e46d328d6a857e68fb8c988b000c9
Contents?: true
Size: 752 Bytes
Versions: 2
Compression:
Stored size: 752 Bytes
Contents
$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $:.unshift(File.dirname(__FILE__)) require 'rails' require 'exvo_globalize' require File.join(File.dirname(__FILE__), 'app') require 'rspec/rails' require 'factory_girl_rails' require 'shoulda-matchers' # Requires supporting ruby files with custom matchers and macros, etc. # in spec/support/ and its subdirectories. Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f } RSpec.configure do |config| config.mock_with :rspec # run migrations config.before :all do CreateGlobalizeTranslations.up unless ActiveRecord::Base.connection.table_exists? 'globalize_translations' end # run each spec within a transactions config.use_transactional_fixtures = true end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
exvo_globalize-0.1.0 | spec/spec_helper.rb |
exvo_globalize-0.0.2 | spec/spec_helper.rb |