Skip to content

Commit 56f6020

Browse files
committed
Assert that the caches modification time is in fact a time
1 parent 057face commit 56f6020

File tree

1 file changed

+1
-0
lines changed
  • spec/support/shared/examples/msf/module_manager

1 file changed

+1
-0
lines changed

spec/support/shared/examples/msf/module_manager/cache.rb

+1
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,7 @@ def module_info_by_path_from_database!
410410
module_info_by_path_from_database!
411411
end
412412

413+
it { expect(subject[:modification_time]).to be_a(Time) }
413414
it { expect(subject[:parent_path]).to eq(parent_path) }
414415
it { expect(subject[:reference_name]).to eq(reference_name) }
415416
it { expect(subject[:type]).to eq(type) }

0 commit comments

Comments
 (0)