Sha256: 841cb6f852fe1d3ba893aef09a003fdaff171652548fefd8fa5705f72cfa5b2f

Contents?: true

Size: 508 Bytes

Versions: 3

Compression:

Stored size: 508 Bytes

Contents

# Configure Rails Envinronment
ENV["RAILS_ENV"] = "test"
require 'spork'

Spork.prefork do
  
  require File.expand_path("../dummy/config/environment.rb",  __FILE__)
  require "rails/test_help"
  require "shoulda"
  require "factory_girl"
  require "sqlite3"
  require "faker"
  
  # Run any available migration if needed
  ActiveRecord::Migrator.migrate File.expand_path("../dummy/db/migrate/", __FILE__)
end

Spork.each_run do

  load File.expand_path("../../features/support/factories.rb", __FILE__)

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spree_variant_options-0.1.1 test/test_helper.rb
spree_variant_options-0.1.0 test/test_helper.rb
spree_variant_options-0.1.0.rc1 test/test_helper.rb