gitlab-org--gitlab-foss/spec/lib/forever_spec.rb
Nick Thomas 4aa76dddec
Remove dead MySQL code
None of this code can be reached any more, so it can all be removed
2019-07-23 16:53:03 +01:00

13 lines
261 B
Ruby

require 'spec_helper'
describe Forever do
describe '.date' do
subject { described_class.date }
it 'returns Postgresql future date' do
Timecop.travel(Date.new(2999, 12, 31)) do
is_expected.to be > Date.today
end
end
end
end