Sha256: 6d3935663926d5bf9ad5c8510b294721bd6b47dc0882b9f51e4a3695b8c2962a

Contents?: true

Size: 1.03 KB

Versions: 7

Compression:

Stored size: 1.03 KB

Contents

require 'coveralls'

Coveralls.wear!

require 'minitest/autorun'
require 'minitest/spec'
require 'minitest/pride'
require 'action_pack'
require 'action_controller'
require 'action_view'
require 'rails'
require 'rails/generators'
require 'rails/generators/test_case'
require 'pry'

require 'prx_auth/rails'

# Configure Rails Environment
ENV["RAILS_ENV"] = "test"
ENV['PRX_CLIENT_ID'] = '12345'


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


# Load fixtures from the engine
if ActiveSupport::TestCase.respond_to?(:fixture_path=)
  ActiveSupport::TestCase.fixture_path = File.expand_path("fixtures", __dir__)
  ActionDispatch::IntegrationTest.fixture_path = ActiveSupport::TestCase.fixture_path
  ActiveSupport::TestCase.file_fixture_path = ActiveSupport::TestCase.fixture_path + "/files"
  ActiveSupport::TestCase.fixtures :all
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
prx_auth-rails-1.8.0 test/test_helper.rb
prx_auth-rails-1.7.0 test/test_helper.rb
prx_auth-rails-1.6.0 test/test_helper.rb
prx_auth-rails-1.5.0 test/test_helper.rb
prx_auth-rails-1.4.1 test/test_helper.rb
prx_auth-rails-1.4.0 test/test_helper.rb
prx_auth-rails-1.3.0 test/test_helper.rb