This Question is Answered

2 "helpful" answers available (2 pts)
2 Replies Last post: Feb 6, 2013 11:07 AM by Evgeny Myasishchev  
Evgeny Myasishchev Newbie 2 posts since
Feb 6, 2013
Currently Being Moderated

Feb 6, 2013 1:34 AM

RubyMine and rspec with custom files pattern

Hi,

 

It seems like RubyMine does not read options defined in .rspec config file. All my spec files have -spec.rb ending instead of _spec.rb. My .rspec file looks like:

 

--color

--pattern "spec/**/*[_|-]spec.rb"

 

 

The issue is if I want to run some spec just using Shift + F10 it will not work because RM does not recognize -spec.rb files as rspec files.

 

Does anyone know how to make RM recognize -spec.rb files as rspec so I could use Shift + F10 to run examples from them?

Oleg Sukhodolsky JetBrains 405 posts since
Apr 4, 2012
Currently Being Moderated
Feb 6, 2013 8:38 AM in response to: Evgeny Myasishchev
Re: RubyMine and rspec with custom files pattern

Hi,

 

unfortunately "*_spec.rb" is hardcoded now

I'd suggest to file request about this in our tracker (http://youtrack.jetbrains.com/issues/RUBY)

 

Regards, Oleg.

More Like This

  • Retrieving data ...