Skip to content

Commit da7d6dd

Browse files
Felix Frankgithub-actions[bot]
authored andcommitted
Add test for the agent fact 'implementation'
(cherry picked from commit ae363fc)
1 parent 2b82f63 commit da7d6dd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

spec/unit/node/facts_spec.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@
3535
@facts.add_local_facts
3636
expect(@facts.values["environment"]).to eq("foo")
3737
end
38+
39+
it "adds the implementation fact" do
40+
@facts.add_local_facts
41+
expect(@facts.values).to include("implementation")
42+
expect(@facts.values["implementation"]).to eq("openvox")
43+
end
3844
end
3945

4046
describe "when sanitizing facts" do

0 commit comments

Comments
 (0)