diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-29 10:38:36 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-29 10:38:36 +0000 |
commit | b8d15b7e470fe6889daae9e8ff8cf6541f789a59 (patch) | |
tree | f49c9e5673ae4528ec5d3c50b38ed46dc3a6412a /spec/ruby | |
parent | defcaf89dd9ed860f8ac00508ff80bcde86645a1 (diff) | |
download | ruby-b8d15b7e470fe6889daae9e8ff8cf6541f789a59.tar.gz |
spec/ruby/optional/capi/constants_spec.rb: Data is deprecated now
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/ruby')
-rw-r--r-- | spec/ruby/optional/capi/constants_spec.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/ruby/optional/capi/constants_spec.rb b/spec/ruby/optional/capi/constants_spec.rb index d663ecda30..096332971c 100644 --- a/spec/ruby/optional/capi/constants_spec.rb +++ b/spec/ruby/optional/capi/constants_spec.rb @@ -25,8 +25,10 @@ describe "C-API constant" do @s.rb_mComparable.should == Comparable end - specify "rb_cData references the Data class" do - @s.rb_cData.should == Data + ruby_version_is ""..."2.5" do + specify "rb_cData references the Data class" do + @s.rb_cData.should == Data + end end specify "rb_mEnumerable references the Enumerable module" do |