From 25058aa861eb870c08181f06a315a6fc0d233eb5 Mon Sep 17 00:00:00 2001 From: Tapan Shah Date: Wed, 11 May 2016 11:25:53 -0400 Subject: [PATCH] rubocop fixes --- spec/classes/nodejs_spec.rb | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/spec/classes/nodejs_spec.rb b/spec/classes/nodejs_spec.rb index 5970ff14..421865b9 100644 --- a/spec/classes/nodejs_spec.rb +++ b/spec/classes/nodejs_spec.rb @@ -1061,7 +1061,8 @@ context 'when running on Windows' do let :facts do - { osfamily: 'Windows', + { + osfamily: 'Windows', operatingsystem: 'Windows', } end @@ -1162,7 +1163,8 @@ context 'when running on Amazon Linux 2014.09' do let :facts do - { osfamily: 'Linux', + { + osfamily: 'Linux', operatingsystem: 'Amazon', operatingsystemrelease: '2014.09', } @@ -1426,7 +1428,8 @@ end context 'when running on Amazon Linux 2015.03' do let :facts do - { osfamily: 'RedHat', + { + osfamily: 'RedHat', operatingsystem: 'Amazon', operatingsystemrelease: '2015.03', }