Skip to content

Commit

Permalink
1.9.3 compat fix
Browse files Browse the repository at this point in the history
  • Loading branch information
matschaffer committed Aug 28, 2015
1 parent b60279f commit 0b9010a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/support/test_case.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def knife_command(cmd_class, *args)
command.ui.stubs(:msg)
command.ui.stubs(:warn)
Chef::Config[:verbosity] = 0
command.config[:config_file] = "#{__dir__}/knife.rb"
command.config[:config_file] = "#{File.dirname(__FILE__)}/knife.rb"
command.configure_chef
command
end
Expand Down

0 comments on commit 0b9010a

Please sign in to comment.