After running
rails generate rspec:install
Place your *_spec.rb
files under (in your example) c:\rails_projects\sample_app\spec\model
. Then specify relative path with require_relative
require_relative '../spec_helper'
After running
rails generate rspec:install
Place your *_spec.rb
files under (in your example) c:\rails_projects\sample_app\spec\model
. Then specify relative path with require_relative
require_relative '../spec_helper'