How do you run a single test/spec file in RSpec? 14/11/2022 #Ruby #RSpec With rspec command: bundle exec rspec path/to/spec/file.rb With spec command: bundle exec spec path/to/spec/file.rb 👉 Source