Run RSpec With the bin/rails Test Command
I borrowed this one from lobster.rs. It makes the builtin bin/rails test
command run RSpec instead. Add a file /test/run_specs_test.rb
with these contents.
# frozen_string_literal: true
require "rspec/core"
RSpec::Core::Runner.run(["spec"])