diff options
Diffstat (limited to 'spec/unit/memory_spec.rb')
-rw-r--r-- | spec/unit/memory_spec.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/unit/memory_spec.rb b/spec/unit/memory_spec.rb index 5cae8cb..fe4ec36 100644 --- a/spec/unit/memory_spec.rb +++ b/spec/unit/memory_spec.rb @@ -6,7 +6,9 @@ require 'facter' describe "Memory facts" do before do - Facter.loadfacts + # We need these facts loaded, but they belong to a file with a + # different name, so load the file explicitly. + Facter.collection.loader.load(:memory) end after do |