Checkout Post - moving spec into folder but it's not being run



There are a set of projects in my repo that have very similar code bases and share a set of gems to give them the same structure. This leads to a ton of specs being duplicated between them.

I am attempting to consolidate those specs into another folder, and then use a script to move those specs from gems/gem/spec/features/feature_spec.rb -> project/spec/features/feature_spec.rb, and then proceed to run those newly copied specs individually in each project.

They move just fine via a cp in the checkout: post: script, and show as in the folder when I run ls right before running rspec. But rspec doesn’t seem to see it or load it even though its now in the folder as I run the bin/rspec command.