spec/ruby/core/unboundmethod/bind_call_spec.rb: Add ruby_version_is guard
This commit is contained in:
parent
96b32aad93
commit
ba9adcc175
@ -1,6 +1,7 @@
|
||||
require_relative '../../spec_helper'
|
||||
require_relative 'fixtures/classes'
|
||||
|
||||
ruby_version_is '2.7' do
|
||||
describe "UnboundMethod#bind_call" do
|
||||
before :each do
|
||||
@normal_um = UnboundMethodSpecs::Methods.new.method(:foo).unbind
|
||||
@ -48,3 +49,4 @@ describe "UnboundMethod#bind_call" do
|
||||
->{ um.bind_call(other) }.should raise_error(TypeError)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user