mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
87261cf59f
commit
4cd67a848a
1 changed files with 10 additions and 2 deletions
|
@ -43,7 +43,15 @@ describe "RUBY_RELEASE_DATE" do
|
||||||
end
|
end
|
||||||
|
|
||||||
describe "RUBY_REVISION" do
|
describe "RUBY_REVISION" do
|
||||||
it "is a Fixnum" do
|
ruby_version_is "".."2.6" do
|
||||||
|
it "is an Integer" do
|
||||||
RUBY_REVISION.should be_kind_of(Fixnum)
|
RUBY_REVISION.should be_kind_of(Fixnum)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
ruby_version_is "2.7" do
|
||||||
|
it "is a String" do
|
||||||
|
RUBY_REVISION.should be_kind_of(String)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue