Open rex-remind101 opened 8 months ago
$ srb spec/spec_helper.rb:385: Unable to resolve constant Sorbet https://srb.help/5002 385 |RSpec::Sorbet.allow_doubles!
I followed the directions in the readme. I added the gem 'rspec-sorbet' to the Gemfile, bundle installed, and spec_helper.rb has the following combination after installing the gem
gem 'rspec-sorbet'
Gemfile
bundle install
spec_helper.rb
require 'rspec/sorbet' RSpec::Sorbet.allow_doubles!
Running this solved it for me:
$ bin/tapioca gem rspec-sorbet
I followed the directions in the readme. I added the
gem 'rspec-sorbet'
to theGemfile
,bundle install
ed, andspec_helper.rb
has the following combination after installing the gem