Skip to content

Commit

Permalink
rm passing test
Browse files Browse the repository at this point in the history
Focus only on the failing test case with zone
  • Loading branch information
jch committed Aug 14, 2024
1 parent d83f2bd commit a4f1315
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions test/active_support_date_current_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,6 @@
require 'active_support/core_ext/date/calculations'

class TestActiveSupportDateCurrent < Minitest::Test
def test_date_current_same_as_date_today
old_zone = Time.zone
begin
Time.zone = nil
Timecop.freeze("2024-03-15") do
assert_equal Date.current, Date.today
end
ensure
Time.zone = old_zone
end
end

def test_date_current_same_as_date_today_with_time_zone
old_zone = Time.zone
begin
Expand Down

0 comments on commit a4f1315

Please sign in to comment.