зеркало из https://github.com/github/ruby.git
Temporarily skipped with upstream changes of Date library.
This commit is contained in:
Родитель
487d96c6b1
Коммит
70ca56deda
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче