Sha256: 472c6768fb9f0e6289d5971243906eae8d768379bfd0336d512e3b6886a22934

Contents?: true

Size: 325 Bytes

Versions: 2

Compression:

Stored size: 325 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe Time do
  subject(:date) { described_class.new(year, month, day, 10, 0, 0) }

  let(:year)    { 2018 }
  let(:month)   { 10 }
  let(:day)     { 4 }

  describe '#days_between' do
    it_behaves_like 'an object that knows how to calculate days between'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
darthjee-core_ext-2.0.0 spec/lib/time_spec.rb
darthjee-core_ext-1.7.4 spec/lib/time_spec.rb