uclibs / ucrate

Scholar@UC: University of Cincinnati's self-submission institutional repository
https://scholar.uc.edu
Other
5 stars 3 forks source link

Using 'stub_chain' and should #1082

Closed scherztc closed 8 months ago

scherztc commented 9 months ago

Descriptive summary

Using stub_chain 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/scherztc/Workspaces/ucrate/spec/views/catalog/_index_list_default.html.erb_spec.rb:47:in `block (3 levels) in <top (required)>'.

Expected behavior

Actual behavior

Steps to reproduce the behavior

  1. Do this
  2. Then do this...

Related work

Link to related issues or prior related work here.