From 1e2d40d981e3d32864a5e143c52c81434d58f5eb Mon Sep 17 00:00:00 2001 From: stack72 Date: Wed, 16 Apr 2014 09:10:33 +0100 Subject: [PATCH] Fixing the linting error of the => lining up --- spec/defines/manage_binding_spec.rb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/spec/defines/manage_binding_spec.rb b/spec/defines/manage_binding_spec.rb index 5682e8c..6ba891b 100644 --- a/spec/defines/manage_binding_spec.rb +++ b/spec/defines/manage_binding_spec.rb @@ -88,11 +88,11 @@ describe 'when protocol is https and ip address *' do let(:title) { 'myWebSite-port-443' } let(:params) { { - :site_name => 'myWebSite', + :site_name => 'myWebSite', :certificate_thumbprint => 'myCertificate', - :protocol => 'https', - :port => '443', - :ip_address => '*', + :protocol => 'https', + :port => '443', + :ip_address => '*', } } it { expect { should contain_exec('Attach-Certificate-myWebSite-port-443')}.to raise_error(Puppet::Error, /https bindings require a valid ip_address/) } @@ -114,11 +114,11 @@ describe 'when protocol is https and all required parameters exist' do let(:title) { 'myWebSite-port-443' } let(:params) { { - :site_name => 'myWebSite', + :site_name => 'myWebSite', :certificate_thumbprint => 'myCertificate', - :protocol => 'https', - :port => '443', - :ip_address => '127.0.0.1', + :protocol => 'https', + :port => '443', + :ip_address => '127.0.0.1', } } it { should contain_exec('Attach-Certificate-myWebSite-port-443').with({