Sha256: ddc68831ee0a55c5df661a6ee22baa015517768544cd138c88bc823463fc6d77

Contents?: true

Size: 449 Bytes

Versions: 3

Compression:

Stored size: 449 Bytes

Contents

# Load the plugin testing framework
$:.unshift("#{File.dirname(__FILE__)}/../../plugin_test_helper/lib")
require 'rubygems'
require 'plugin_test_helper'

# Run the migrations
ActiveRecord::Migrator.migrate("#{Rails.root}/db/migrate")

# Mixin the factory helper
require File.expand_path("#{File.dirname(__FILE__)}/factory")
Test::Unit::TestCase.class_eval do
  include Factory
end

# Remove defaults for testing
Region.delete_all
Country.delete_all

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
has_addresses-0.5.2 test/test_helper.rb
has_addresses-0.5.0 test/test_helper.rb
has_addresses-0.5.1 test/test_helper.rb