Skip to content

Commit

Permalink
Unblock Tests (#73)
Browse files Browse the repository at this point in the history
* replace use of MiniTest constant with Minitest constant for reporters (needed for minitest-reporters version 1.6.1);

* gitignore sqlite wal and shm files for dummy application;

* remove legacy_connection_handling from test application (deprecated in Rails 7.0 and removed in Rails 7.1);

---------

Co-authored-by: Laney Stroup <laney@stroupsolutions.com>
  • Loading branch information
Laney Stroup and strouptl authored May 18, 2024
1 parent 8d4f9e0 commit 323babb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@ lib/bundler/man
test/dummy/log/**
test/dummy/tmp/**
test/dummy/db/*.sqlite3
test/dummy/db/*.sqlite3-shm
test/dummy/db/*.sqlite3-wal

Gemfile.lock

# Generated test files
tmp/*
tmp/*
2 changes: 0 additions & 2 deletions test/dummy/config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ class Application < Rails::Application
# Enable escaping HTML in JSON.
config.active_support.escape_html_entities_in_json = true

config.active_record.legacy_connection_handling = false

# Use SQL instead of Active Record's schema dumper when creating the database.
# This is necessary if your schema can't be completely dumped by the schema dumper,
# like if you have constraints or database-specific column types
Expand Down
2 changes: 1 addition & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
require "capybara/cuprite"
require "minitest/reporters"

MiniTest::Reporters.use!
Minitest::Reporters.use!

# I18n.load_path << File.expand_path("../support/locale/en.yml", __FILE__) if DEVISE_ORM == :mongoid

Expand Down

0 comments on commit 323babb

Please sign in to comment.