1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

spec/ruby/core/unboundmethod/bind_call_spec.rb: Add ruby_version_is guard

This commit is contained in:
Yusuke Endoh 2019-08-30 11:49:14 +09:00
parent 96b32aad93
commit ba9adcc175

View file

@ -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