Now all the class under test will be required inside the spec_helper file. Test database connection will be done inside the spec_helper.rb file. All the spec classes will require the spec_helper.rb within them.