Skip to content
This repository has been archived by the owner on Jun 19, 2020. It is now read-only.

FACT-2650 Fix bug when loading external facts #543

Merged
merged 6 commits into from
Jun 9, 2020
Merged

Conversation

Filipovici-Andrei
Copy link
Contributor

When running facter with external facts, in powershell, the paths given to the search_path method are not interpreted correctly and no facts are resolved.

@Filipovici-Andrei Filipovici-Andrei added the bugfix Something isn't working label Jun 4, 2020
@Filipovici-Andrei Filipovici-Andrei requested review from a team June 4, 2020 12:38
Comment on lines +292 to +295
it 'corrects the directory path' do
allow(loader).to receive(:search_path).and_return [dir_path]

loader.load_all
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no expect

@BogdanIrimie BogdanIrimie merged commit 68685dd into master Jun 9, 2020
@BogdanIrimie BogdanIrimie deleted the FACT-2650 branch June 9, 2020 12:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bugfix Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants