标签:
If you go in Run > Edit Configurations...
And select All Specs in <Your Project> you‘ll see Filename Mask: **/*_spec.rb
This means when you tell RubyMine to run "All Specs", it only runs files which match the regex.
Now when you add second file and you do require_relative to load the other one, so both the tests run.
标签:
原文地址:http://www.cnblogs.com/or2-/p/5185996.html