Skip to content

Commit

Permalink
Merge pull request #470 from inspec/new_lint
Browse files Browse the repository at this point in the history
Resolve chefstyle warnings in 0.13
  • Loading branch information
Ryan Davis committed Jul 3, 2019
2 parents 66c8553 + 34e13e1 commit ce0c7ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/transports/ssh_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@

it "sets the right auth_methods when password is specified" do
conf[:key_files] = nil
cls.new(conf).connection.method(:options).call[:auth_methods].must_equal ["none", "password", "keyboard-interactive"]
cls.new(conf).connection.method(:options).call[:auth_methods].must_equal %w{none password keyboard-interactive}
end

it "sets the right auth_methods when keys are specified" do
Expand Down Expand Up @@ -317,7 +317,7 @@

it "sets the right auth_methods when password is specified" do
conf[:key_files] = nil
cls.new(conf).connection.method(:options).call[:auth_methods].must_equal ["none", "password", "keyboard-interactive"]
cls.new(conf).connection.method(:options).call[:auth_methods].must_equal %w{none password keyboard-interactive}
end

it "sets the right auth_methods when keys are specified" do
Expand Down

0 comments on commit ce0c7ac

Please sign in to comment.