File: test_helper.rb

package info (click to toggle)
ruby-factory-bot-rails 6.5.0-1~exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 372 kB
  • sloc: ruby: 645; makefile: 6; sh: 4
file content (11 lines) | stat: -rw-r--r-- 249 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

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

require_relative "../spec/fake_app"

require "rails/test_help"
require "factory_bot_rails"

Dir["spec/support/**/*.rb"].each { |f| require File.expand_path(f) }