rubymine配置 rspec

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.

 

rubymine配置 rspec_第1张图片

你可能感兴趣的:(rubymine配置 rspec)