Sha256: 361d8572c3dae1f00c9ef180938e3b6d638af561e28ee487e7bded98b2320c28

Contents?: true

Size: 303 Bytes

Versions: 7

Compression:

Stored size: 303 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe Time do
  let(:year) { 2018 }
  let(:month) { 10 }
  let(:day) { 4 }
  let(:subject) { Time.new(year, month, day, 10, 0, 0) }

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
darthjee-core_ext-1.7.3 spec/lib/time_spec.rb
darthjee-core_ext-1.7.2 spec/lib/time_spec.rb
darthjee-core_ext-1.7.1 spec/lib/time_spec.rb
darthjee-core_ext-1.7.0 spec/lib/time_spec.rb
darthjee-core_ext-1.6.2 spec/lib/time_spec.rb
darthjee-core_ext-1.6.1 spec/lib/time_spec.rb
darthjee-core_ext-1.6.0 spec/lib/time_spec.rb