You can add it to the test_helper.rb file and it will be included in
all your default tests. Alternatively you could simply put it in a
module (in a separate file in RAILS_ROOT/test and then “include” it in
test_helper.rb or the individual test classes as you need.
On Oct 11, 10:35 am, Marnen Laibow-Koser <rails-mailing-l…@andreas-
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.