diff options
Diffstat (limited to 'spec/integration')
-rw-r--r-- | spec/integration/knife/raw_spec.rb | 8 | ||||
-rw-r--r-- | spec/integration/knife/redirection_spec.rb | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/spec/integration/knife/raw_spec.rb b/spec/integration/knife/raw_spec.rb index 7e563d5d25..ba26def473 100644 --- a/spec/integration/knife/raw_spec.rb +++ b/spec/integration/knife/raw_spec.rb @@ -214,8 +214,8 @@ describe "knife raw", :workstation do end context "When a server returns raw json" do - def start_tiny_server(server_opts = {}) - @server = TinyServer::Manager.new(server_opts) + def start_tiny_server(**server_opts) + @server = TinyServer::Manager.new(**server_opts) @server.start @api = TinyServer::API.instance @api.clear @@ -256,8 +256,8 @@ describe "knife raw", :workstation do end context "When a server returns text" do - def start_tiny_server(server_opts = {}) - @server = TinyServer::Manager.new(server_opts) + def start_tiny_server(**server_opts) + @server = TinyServer::Manager.new(**server_opts) @server.start @api = TinyServer::API.instance @api.clear diff --git a/spec/integration/knife/redirection_spec.rb b/spec/integration/knife/redirection_spec.rb index 2574ac3bf0..34d5fe6efc 100644 --- a/spec/integration/knife/redirection_spec.rb +++ b/spec/integration/knife/redirection_spec.rb @@ -25,8 +25,8 @@ describe "redirection", :workstation do include IntegrationSupport include KnifeSupport - def start_tiny_server(real_chef_server_url, server_opts = {}) - @server = TinyServer::Manager.new(server_opts) + def start_tiny_server(real_chef_server_url, **server_opts) + @server = TinyServer::Manager.new(**server_opts) @server.start @api = TinyServer::API.instance @api.clear |