Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I specify multiple directories for RSpec to pull tests from?

I have some vendored gems that are being developed in tandem with my project and i'd like to be tell rspec to run the tests for those gems as well as those for my main app. Is there a simple way to do this?

like image 216
user1172240 Avatar asked Jul 23 '12 13:07

user1172240


1 Answers

just put spaces in between the directories like:

rspec spec/model/location.rb ../gem/spec/requests/user.rb
like image 115
Ultimation Avatar answered Oct 13 '22 01:10

Ultimation