spec/gem_spec.rb in blackbox-4.0.3 vs spec/gem_spec.rb in blackbox-4.0.4
- old
+ new
@@ -1,6 +1,7 @@
# frozen_string_literal: true
+
require 'spec_helper'
require 'timecop'
require 'blackbox/gem'
describe BB::Gem do
@@ -42,10 +43,9 @@
Timecop.freeze(at) do
retval = BB::Gem.version_info(check_interval: 864_00)
expect(retval).to include(
next_check_for_update: Time.parse('2015-10-22 00:00'),
gem_latest_version: :unknown
-
)
end
end
it "schedules next check according to opt['check_interval']" do