Skip to content

Commit

Permalink
Assert that the caches modification time is in fact a time
Browse files Browse the repository at this point in the history
  • Loading branch information
dwelch-r7 committed Jan 24, 2024
1 parent 057face commit 56f6020
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/support/shared/examples/msf/module_manager/cache.rb
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ def module_info_by_path_from_database!
module_info_by_path_from_database!
end

it { expect(subject[:modification_time]).to be_a(Time) }
it { expect(subject[:parent_path]).to eq(parent_path) }
it { expect(subject[:reference_name]).to eq(reference_name) }
it { expect(subject[:type]).to eq(type) }
Expand Down

0 comments on commit 56f6020

Please sign in to comment.