Sha256: 2957598c0795d8a633ec502938e792fad34bbc4c0f82d628b554a4e31b264e52

Contents?: true

Size: 664 Bytes

Versions: 24

Compression:

Stored size: 664 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 = Engine.routes
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
extface-0.3.0 test/test_helper.rb
extface-0.2.5 test/test_helper.rb
extface-0.2.4 test/test_helper.rb
extface-0.2.3 test/test_helper.rb
extface-0.2.2 test/test_helper.rb
extface-0.2.1 test/test_helper.rb
extface-0.2.0 test/test_helper.rb
extface-0.1.9 test/test_helper.rb
extface-0.1.8 test/test_helper.rb
extface-0.1.7 test/test_helper.rb
extface-0.1.6 test/test_helper.rb
extface-0.1.5 test/test_helper.rb
extface-0.1.4 test/test_helper.rb
extface-0.1.3 test/test_helper.rb
extface-0.1.2 test/test_helper.rb
extface-0.1.1 test/test_helper.rb
extface-0.1.0 test/test_helper.rb
extface-0.0.8 test/test_helper.rb
extface-0.0.7 test/test_helper.rb
extface-0.0.6 test/test_helper.rb