Skip to content

Commit

Permalink
Merge pull request #907 from kbrock/check_feature_support
Browse files Browse the repository at this point in the history
stub the proper class for stub_supports
  • Loading branch information
agrare committed Apr 5, 2024
2 parents f4f756d + d1169e2 commit fc18078
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

context "when it does not support ipmi" do
before do
stub_supports_all_others(Host)
stub_supports_not(Host, :ipmi)
stub_supports_all_others(described_class)
stub_supports_not(described_class, :ipmi)
end

let(:power_state) { "off" }
Expand All @@ -21,8 +21,8 @@

context "when it supports ipmi" do
before do
stub_supports_all_others(Host)
stub_supports(Host, :ipmi)
stub_supports_all_others(described_class)
stub_supports(described_class, :ipmi)
end

context "when off" do
Expand Down

0 comments on commit fc18078

Please sign in to comment.