mirror of
https://github.com/lostisland/faraday.git
synced 2025-10-05 00:05:35 -04:00
Fix compatibility with Ruby 3.4.0-preview1 (#1560)
This commit is contained in:
parent
7dc694150d
commit
6d82d716c2
@ -19,7 +19,9 @@ RSpec.describe Faraday do
|
||||
|
||||
it 'uses method_missing on Faraday if there is no proxyable method' do
|
||||
expected_message =
|
||||
if RUBY_VERSION >= '3.3'
|
||||
if RUBY_VERSION >= '3.4'
|
||||
"undefined method 'this_method_does_not_exist' for module Faraday"
|
||||
elsif RUBY_VERSION >= '3.3'
|
||||
"undefined method `this_method_does_not_exist' for module Faraday"
|
||||
else
|
||||
"undefined method `this_method_does_not_exist' for Faraday:Module"
|
||||
|
Loading…
x
Reference in New Issue
Block a user