Sha256: 63410bbecb3f09abfe63962cb24f0e6bc44d3f99d2cc0c990525246059728bd1

Contents?: true

Size: 732 Bytes

Versions: 3

Compression:

Stored size: 732 Bytes

Contents

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

require 'test/unit'
FAILED_ASSERTION = RUBY_VERSION < "1.9" ? Test::Unit::AssertionFailedError : MiniTest::Assertion

require File.expand_path("../dummy/config/environment.rb",  __FILE__)
require "rails/test_help"
require "rails/generators/test_case"

Rails.backtrace_cleaner.remove_silencers!

# Load database schema
ActiveRecord::Base.configurations = YAML.load(File.read(File.expand_path("../dummy/config/database.yml", __FILE__)))
ActiveRecord::Base.establish_connection("test")
ActiveRecord::Migration.verbose = false
load(File.expand_path("../dummy/db/schema.rb", __FILE__))

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

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
bbq-widget-0.0.2 test/test_helper.rb
bbq-widget-0.0.1 test/test_helper.rb
bbq-0.0.2.beta.1 test/test_helper.rb