In my file my_cool_spec.rb I have a require that looks like this. require File.dirname(__FILE__) + "/../test_helper"
Lets say I want to move my_cool_spec.rb into a sub directory so I can logically group my specs.
I create the new directory using RubyMine and now I want to drag my_cool_spec.rb
What happens now:
I manually update the path require File.dirname(__FILE__) + "/../../test_helper"
Can RubyMine update the path for me?
I want to rename test_helper to spec_helper
If I use refactor-> rename . I want RubyMine to go update all the references.
Is there a way I can do this with this require method?
I am using Rubymine 3.0 on Mac OSX 10.5