зеркало из
https://github.com/rs-pro/activeadmin-quill_editor.git
synced 2026-09-07 20:15:51 +03:00
test: Improve some tests
Этот коммит содержится в:
@@ -1,12 +1,14 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require_relative 'spec_helper'
|
||||
require 'super_diff/rspec'
|
||||
|
||||
require 'zeitwerk'
|
||||
loader = Zeitwerk::Loader.new
|
||||
loader.push_dir("#{__dir__}/page_objects")
|
||||
loader.setup
|
||||
|
||||
require_relative 'spec_helper'
|
||||
|
||||
ENV['RAILS_ENV'] = 'test'
|
||||
|
||||
require 'simplecov'
|
||||
@@ -21,8 +23,6 @@ require 'capybara/rails'
|
||||
|
||||
Dir[File.expand_path('support/**/*.rb', __dir__)].each { |f| require_relative f }
|
||||
|
||||
# Checks for pending migrations and applies them before tests are run.
|
||||
# If you are not using ActiveRecord, you can remove these lines.
|
||||
begin
|
||||
ActiveRecord::Migration.maintain_test_schema!
|
||||
rescue ActiveRecord::PendingMigrationError => e
|
||||
|
||||
Ссылка в новой задаче
Block a user