spec/unit/memory_spec.rb in facter-1.5.9 vs spec/unit/memory_spec.rb in facter-1.6.0
- old
+ new
@@ -4,10 +4,12 @@
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
Facter.clear
end