Skip to content

Commit

Permalink
Merge pull request #8517 from Dorin-Pleava/main
Browse files Browse the repository at this point in the history
  • Loading branch information
Gheorghe Popescu authored Feb 16, 2021
2 parents 213ee5a + 22fa378 commit c6412ea
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions spec/unit/application/facts_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

describe Puppet::Application::Facts do
let(:app) { Puppet::Application[:facts] }
let(:values) { {"filesystems" => "apfs,autofs,devfs", "macaddress" => "64:52:11:22:03:25"} }
let(:values) { {"filesystems" => "apfs,autofs,devfs", "macaddress" => "64:52:11:22:03:2e"} }

before :each do
Puppet::Node::Facts.indirection.terminus_class = :memory
Expand All @@ -21,7 +21,7 @@
name: whatever
values:
filesystems: apfs,autofs,devfs
macaddress: "64:52:11:22:03:25"
macaddress: "64:52:11:22:03:2e"
END

expect {
Expand All @@ -42,7 +42,7 @@
name: #{Puppet[:certname]}
values:
filesystems: apfs,autofs,devfs
macaddress: "64:52:11:22:03:25"
macaddress: "64:52:11:22:03:2e"
END

expect {
Expand All @@ -55,7 +55,7 @@
let(:expected) { <<~END }
{
"filesystems": "apfs,autofs,devfs",
"macaddress": "64:52:11:22:03:25"
"macaddress": "64:52:11:22:03:2e"
}
END

Expand Down Expand Up @@ -119,7 +119,7 @@
let(:expected) { <<~END }
---
filesystems: apfs,autofs,devfs
macaddress: 64:52:11:22:03:25
macaddress: 64:52:11:22:03:2e
END

before :each do
Expand Down

0 comments on commit c6412ea

Please sign in to comment.