Skip to content

Commit

Permalink
Missed the .new when converting to fail.
Browse files Browse the repository at this point in the history
  • Loading branch information
coderanger committed Jan 14, 2016
1 parent 61ca096 commit 9d80f5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/kitchen/verifier/inspec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def runner_options(transport, state = {})
elsif transport.is_a?(Kitchen::Transport::Winrm)
runner_options_for_winrm(transport_data)
else
fail Kitchen::UserError.new, "Verifier #{name} does not support the #{transport.name} Transport"
fail Kitchen::UserError, "Verifier #{name} does not support the #{transport.name} Transport"
end.tap do |runner_options|
runner_options['format'] = config[:format] unless config[:format].nil?
end
Expand Down

0 comments on commit 9d80f5f

Please sign in to comment.