diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2019-07-08 15:05:13 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2019-07-08 15:18:56 -0700 |
commit | ac56ffafe24e39fffb02cc1fbc0d3f27303390be (patch) | |
tree | dc181c9df742b21f370e0bddf73e66106a418eb3 /spec/functional | |
parent | 1da67213c6796462eb8bab291689ffa4a57e128c (diff) | |
download | chef-ac56ffafe24e39fffb02cc1fbc0d3f27303390be.tar.gz |
fix multiline string
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec/functional')
-rw-r--r-- | spec/functional/resource/group_spec.rb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/spec/functional/resource/group_spec.rb b/spec/functional/resource/group_spec.rb index c17217b1f3..5b34ad92d0 100644 --- a/spec/functional/resource/group_spec.rb +++ b/spec/functional/resource/group_spec.rb @@ -1,7 +1,7 @@ # # Author:: Chirag Jog (<chirag@clogeny.com>) # Author:: Siddheshwar More (<siddheshwar.more@clogeny.com>) -# Copyright:: Copyright 2013-2018, Chef Software Inc. +# Copyright:: Copyright 2013-2019, Chef Software Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -333,10 +333,10 @@ describe Chef::Resource::Group, :requires_root_or_running_windows do describe "when group name is length 256", :windows_only do let!(:group_name) do - "theoldmanwalkingdownthestreetalwayshadagood\ - smileonhisfacetheoldmanwalkingdownthestreetalwayshadagoodsmileonhisface\ - theoldmanwalkingdownthestreetalwayshadagoodsmileonhisfacetheoldmanwalking\ - downthestreetalwayshadagoodsmileonhisfacetheoldmanwalkingdownthestree" + "theoldmanwalkingdownthestreetalwayshadagood"\ + "smileonhisfacetheoldmanwalkingdownthestreetalwayshadagoodsmileonhisface"\ + "theoldmanwalkingdownthestreetalwayshadagoodsmileonhisfacetheoldmanwalking"\ + "downthestreetalwayshadagoodsmileonhisfacetheoldmanwalkingdownthestree" end it "should create a group" do @@ -360,10 +360,10 @@ describe Chef::Resource::Group, :requires_root_or_running_windows do # for group name > 256, Windows 2016 returns "The parameter is incorrect" context "group create action: when group name length is more than 256", :windows_only do let!(:group_name) do - "theoldmanwalkingdownthestreetalwayshadagood\ - smileonhisfacetheoldmanwalkingdownthestreetalwayshadagoodsmileonhisface\ - theoldmanwalkingdownthestreetalwayshadagoodsmileonhisfacetheoldmanwalking\ - downthestreetalwayshadagoodsmileonhisfacetheoldmanwalkingdownthestreeQQQQQQ" + "theoldmanwalkingdownthestreetalwayshadagood"\ + "smileonhisfacetheoldmanwalkingdownthestreetalwayshadagoodsmileonhisface"\ + "theoldmanwalkingdownthestreetalwayshadagoodsmileonhisfacetheoldmanwalking"\ + "downthestreetalwayshadagoodsmileonhisfacetheoldmanwalkingdownthestreeQQQQQQ" end it "should not create a group" do |