diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2018-07-02 10:36:46 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2018-07-02 10:36:46 -0700 |
commit | 865b2aac61aea10db31bae7dcedd6146c9526f74 (patch) | |
tree | 5e144fc3981bc1101ded5cf3f78a90d208cfde6d /spec | |
parent | f2232a71362244747949efe9ac30a7bb410626e4 (diff) | |
download | chef-865b2aac61aea10db31bae7dcedd6146c9526f74.tar.gz |
fix Style/TrailingCommaInHashLiteral
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec')
-rw-r--r-- | spec/unit/chef_fs/data_handler/data_handler_base_spec.rb | 6 | ||||
-rw-r--r-- | spec/unit/provider/service/debian_service_spec.rb | 2 | ||||
-rw-r--r-- | spec/unit/provider/windows_task_spec.rb | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/spec/unit/chef_fs/data_handler/data_handler_base_spec.rb b/spec/unit/chef_fs/data_handler/data_handler_base_spec.rb index a5d177c878..b4cb5a33f2 100644 --- a/spec/unit/chef_fs/data_handler/data_handler_base_spec.rb +++ b/spec/unit/chef_fs/data_handler/data_handler_base_spec.rb @@ -25,7 +25,7 @@ describe Chef::ChefFS::DataHandler::DataHandlerBase do { "name" => "grizzly", "gender" => "female", "age" => 3, - "food" => "honey" + "food" => "honey", } end @@ -33,7 +33,7 @@ describe Chef::ChefFS::DataHandler::DataHandlerBase do { "family" => "ursidae", "hibernate" => true, "food" => "berries", - "avg_lifespan_years" => 22 + "avg_lifespan_years" => 22, } end @@ -44,7 +44,7 @@ describe Chef::ChefFS::DataHandler::DataHandlerBase do "hibernate" => true, "avg_lifespan_years" => 22, "age" => 3, - "food" => "honey" + "food" => "honey", } end diff --git a/spec/unit/provider/service/debian_service_spec.rb b/spec/unit/provider/service/debian_service_spec.rb index 173f5e9b61..626abb10f7 100644 --- a/spec/unit/provider/service/debian_service_spec.rb +++ b/spec/unit/provider/service/debian_service_spec.rb @@ -88,7 +88,7 @@ describe Chef::Provider::Service::Debian do "5" => [:start, "20"], "0" => [:stop, "20"], "1" => [:stop, "20"], - "6" => [:stop, "20"] + "6" => [:stop, "20"], }) end end diff --git a/spec/unit/provider/windows_task_spec.rb b/spec/unit/provider/windows_task_spec.rb index f69ba49547..3a046ab5de 100644 --- a/spec/unit/provider/windows_task_spec.rb +++ b/spec/unit/provider/windows_task_spec.rb @@ -83,7 +83,7 @@ describe Chef::Provider::WindowsTask, :windows_only do random_minutes_interval: 60, minutes_interval: 15, run_on_last_day_of_month: false, - run_on_last_week_of_month: false + run_on_last_week_of_month: false, } expect(provider.send(:trigger)).to eq(result) |