rails-perftest icon indicating copy to clipboard operation
rails-perftest copied to clipboard

Can I change the folder of test_helper.rb?

Open IamNaN opened this issue 8 years ago • 2 comments

We keep all of our tests in the spec folder. Is there a way to require test_helper.rb from a folder other than test?

IamNaN avatar Jun 16 '16 20:06 IamNaN

@IamNaN are you talking about the require "test_helper" that is part of the generated test-cases?

senny avatar Jun 24 '16 13:06 senny

You could move the file to /spec/ and use require './spec/test_helper'

stuarthannig avatar Apr 13 '17 17:04 stuarthannig