1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
This commit is contained in:
Benoit Daloze 2019-04-28 23:20:11 +02:00
parent 994833085a
commit 79671ec57e
135 changed files with 4415 additions and 4885 deletions

View file

@ -15,9 +15,7 @@ describe :inspect, shared: true do
Time.new(2000, 1, 1, 20, 15, 01, 3600).send(@method).should == "2000-01-01 20:15:01 +0100"
end
with_feature :encoding do
it "returns a US-ASCII encoded string" do
Time.now.send(@method).encoding.should equal(Encoding::US_ASCII)
end
it "returns a US-ASCII encoded string" do
Time.now.send(@method).encoding.should equal(Encoding::US_ASCII)
end
end