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.

 

posted on 2016-02-10 16:19  c3tc3tc3t  阅读(472)  评论(0)    收藏  举报