Fix to legacy RSpec 3 matcher protocol warning