mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Temporarily skipped with upstream changes of Date library.
This commit is contained in:
parent
487d96c6b1
commit
70ca56deda
2 changed files with 9 additions and 5 deletions
|
@ -11,9 +11,11 @@ describe "Date#parse" do
|
|||
d.should == Date.commercial(d.cwyear, d.cweek, 5)
|
||||
end
|
||||
|
||||
it "parses a month name into a Date object" do
|
||||
d = Date.parse("october")
|
||||
d.should == Date.civil(Date.today.year, 10)
|
||||
ruby_version_is ''...'2.7' do
|
||||
it "parses a month name into a Date object" do
|
||||
d = Date.parse("october")
|
||||
d.should == Date.civil(Date.today.year, 10)
|
||||
end
|
||||
end
|
||||
|
||||
it "parses a month day into a Date object" do
|
||||
|
|
|
@ -2,8 +2,10 @@ require_relative '../../spec_helper'
|
|||
require_relative 'shared/valid_jd'
|
||||
require 'date'
|
||||
|
||||
describe "Date.valid_jd?" do
|
||||
ruby_version_is ''...'2.7' do
|
||||
describe "Date.valid_jd?" do
|
||||
|
||||
it_behaves_like :date_valid_jd?, :valid_jd?
|
||||
it_behaves_like :date_valid_jd?, :valid_jd?
|
||||
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue