I try to run bundle exec rspec , but I get the following error that occurs when I call spec_helper.rb
template.rb:8:in `<class:Template>': uninitialized constant ActiveSupport::Autoload (NameError)
Here is my spec_helper.rb file:
require 'rubygems' require 'rspec/rails' ENV["RAILS_ENV"] ||= 'test' require File.expand_path("../../config/environment", __FILE__) RSpec.configure do |config| config.infer_spec_type_from_file_location! end
ruby-on-rails rspec
Thalatta
source share