You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #190, some rspec tests were reformatted to work with Rubocop in a not-so-awesome manner. If we are interested in going back to the previous format, here's the diff required:
$ git diff
diff --git a/spec/defines/nodejs_npm_spec.rb b/spec/defines/nodejs_npm_spec.rb
index 88a93d2..b4e27f2 100644
--- a/spec/defines/nodejs_npm_spec.rb
+++ b/spec/defines/nodejs_npm_spec.rb
@@ -30,8 +30,10 @@ describe 'nodejs::npm', :type => :define do
end
it 'the npm install command should run under user foo' do
- is_expected.to contain_exec('npm_install_express').with('command' => '/usr/bin/npm install express ',
- 'user' => 'foo',)
+ is_expected.to contain_exec('npm_install_express').with(
+ 'command' => '/usr/bin/npm install express ',
+ 'user' => 'foo',
+ )
end
end
The text was updated successfully, but these errors were encountered:
In #190, some rspec tests were reformatted to work with Rubocop in a not-so-awesome manner. If we are interested in going back to the previous format, here's the diff required:
The text was updated successfully, but these errors were encountered: