Sorry, Andy. That would have been helpful information.
The version was not specified in the original gemfile, but it was 2.14.4. I updated to 3.3.0. Then I received the following deprecations and failures when I called rake.
1) User#has_mentoring? returns false without a subscription
Failure/Error: expect(user.has_mentoring?).to be_false
expected to respond to
false? or perhaps you meant
be false or
# ./spec/user_spec.rb:36:in `block (3 levels) in '
stub from rspec-mocks' old
:should syntax without explicitly enabling the syntax is deprecated. Use the new
:expect syntax or explicitly enable
:should instead. Called from /Users/gwendolyn/Code/upcase/null-object-part-one/spec/subscription_spec.rb:26:in `block (3 levels) in '.
If you need more of the backtrace for any of these deprecations to
identify where to make the necessary changes, you can configure
config.raise_errors_for_deprecations!, and it will turn the
deprecation warnings into errors, giving you the full backtrace.
1 deprecation warning total
Finished in 0.17634 seconds (files took 2.96 seconds to load)
9 examples, 1 failure
rspec ./spec/user_spec.rb:33 # User#has_mentoring? returns false without a subscription