Skip to content

Commit

Permalink
Make test symmetrical
Browse files Browse the repository at this point in the history
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
  • Loading branch information
clintoncwolfe committed May 10, 2019
1 parent bbea5ab commit a89b470
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/unit/platforms/detect/os_common_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ def initialize
end

it 'return winrm? false when winrm is not loaded' do
be = mock('Backend')
detector.instance_variable_set(:@backend, be)
OsDetectLinuxTester.any_instance.stubs(:backend_name).returns('Something::Else')
detector.winrm?.must_equal(false)
end
end
Expand Down

0 comments on commit a89b470

Please sign in to comment.