summaryrefslogtreecommitdiff
path: root/spec/ruby/core/time
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2024-02-15 14:49:56 +0900
committerHiroshi SHIBATA <[email protected]>2024-02-15 18:57:23 +0900
commitfa7529afd5566bab3d1db9bba6624122ffd1b4c8 (patch)
tree0402d88d18fa764bac2798a36468c1b3308c4e8f /spec/ruby/core/time
parent121dfb38be53f4c984b2bc56106df615d5dd3568 (diff)
Move examples related core extension feature by Bigdecimal to under the library/bigdecimal
Diffstat (limited to 'spec/ruby/core/time')
-rw-r--r--spec/ruby/core/time/at_spec.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/spec/ruby/core/time/at_spec.rb b/spec/ruby/core/time/at_spec.rb
index 0459589f01..7fec8ad548 100644
--- a/spec/ruby/core/time/at_spec.rb
+++ b/spec/ruby/core/time/at_spec.rb
@@ -32,13 +32,6 @@ describe "Time.at" do
t2.nsec.should == t.nsec
end
- describe "passed BigDecimal" do
- it "doesn't round input value" do
- require 'bigdecimal'
- Time.at(BigDecimal('1.1')).to_f.should == 1.1
- end
- end
-
describe "passed Rational" do
it "returns Time with correct microseconds" do
t = Time.at(Rational(1_486_570_508_539_759, 1_000_000))