Sha256: 1063f1bda560d2d96f77a17189c98708b761b01f4360971214b6c75e9b6bd40d

Contents?: true

Size: 673 Bytes

Versions: 4

Compression:

Stored size: 673 Bytes

Contents

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

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

Rails.backtrace_cleaner.remove_silencers!

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

# Load fixtures from the engine
ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)


class ActiveSupport::TestCase
  # load db schema
  ActiveRecord::Schema.verbose = false
  load "#{Rails.root}/db/schema.rb"
  
  fixtures :all
end
module Extface
  class ActionController::TestCase
    setup do
      @routes = Extface::Engine.routes
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
extface-0.4.0 test/test_helper.rb
extface-0.3.0c test/test_helper.rb
extface-0.3.0b test/test_helper.rb
extface-0.3.0a test/test_helper.rb