Sha256: b5d72330535ee03d90b59c4b86d30722bd3bb57ab4d4dfcd3cac676cde06e9ea
Contents?: true
Size: 328 Bytes
Versions: 124
Compression:
Stored size: 328 Bytes
Contents
# frozen_string_literal: true RSpec.describe :weeks_since do link :weeks_since, from: :ree_datetime it { result = weeks_since(DateTime.new(2022, 5, 23, 13, 15, 20), 3) expect(result).to eq(DateTime.new(2022, 6, 13, 13, 15, 20)) } it { result = weeks_since(3) expect(result).to be_a(DateTime) } end
Version data entries
124 entries across 124 versions & 1 rubygems