Sha256: 6303e66cdaa48ba871a1bc83807a1233722e95a6562ffd4ff8ec71f830755fe1

Contents?: true

Size: 1.3 KB

Versions: 4

Compression:

Stored size: 1.3 KB

Contents

# Configure Rails Environment
ENV["RAILS_ENV"] = "test"

require 'yaml'
env_file = File.join(Pathname.new(__FILE__).parent.parent, 'config', 'application.yml')
YAML.load(File.open(env_file)).each do |key, value|
  ENV[key.to_s] = value.to_s
end if File.exists?(env_file)

require File.expand_path("../../test/dummy/config/environment.rb",  __FILE__)
ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../test/dummy/db/migrate", __FILE__)]
require "rails/test_help"

# Filter out Minitest backtrace while allowing backtrace from other libraries
# to be shown.
Minitest.backtrace_filter = Minitest::BacktraceFilter.new

# Load support files
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

# Load fixtures from the engine
if ActiveSupport::TestCase.respond_to?(:fixture_path=)
  ActiveSupport::TestCase.fixture_path = File.expand_path("../dummy/test/fixtures", __FILE__)
  ActiveSupport::TestCase.fixtures :all
end

Epom.configure do |config|
	config.epom_server = 'https://n29.epom.com/'
	config.username = ENV['username']
	config.password = ENV['password']

	config.proxy_address = ENV['proxy_address']
	config.proxy_port = ENV['proxy_port']
	config.proxy_user = ENV['proxy_user']
	config.proxy_password = ENV['proxy_password']
end

EpomRails.configure do |config|
	config.offline = false
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
epom_rails-0.4.9 test/test_helper.rb
epom_rails-0.4.8 test/test_helper.rb
epom_rails-0.4.7 test/test_helper.rb
epom_rails-0.4.6 test/test_helper.rb