Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(rubocop) clean up rubocop errors #191

Merged
merged 1 commit into from
Jan 7, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions spec/defines/global_config_entry_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
end

context 'with name set to proxy and value set to proxy.domain' do
let (:title) { 'proxy' }
let(:title) { 'proxy' }
let :params do
{
:value => 'proxy.domain',
Expand All @@ -29,7 +29,7 @@
end

context 'with name set to https-proxy and value set to proxy.domain' do
let (:title) { 'https-proxy' }
let(:title) { 'https-proxy' }
let :params do
{
:value => 'proxy.domain',
Expand All @@ -41,7 +41,7 @@
end

context 'with name set to color and ensure set to absent' do
let (:title) { 'color' }
let(:title) { 'color' }
let :params do
{
:ensure => 'absent',
Expand All @@ -53,7 +53,7 @@
end

context 'with name set to foo and ensure set to an invalid value' do
let (:title) { 'foo' }
let(:title) { 'foo' }
let :params do
{
:ensure => 'invalid_value',
Expand Down
6 changes: 3 additions & 3 deletions spec/defines/nodejs_npm_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
end

# This should only affect the exec title
let (:title) { 'express' }
let(:title) { 'express' }

# su user npm install <package>
context 'with package set to express, user set to foo and target set to /home/npm/packages' do
Expand Down Expand Up @@ -383,7 +383,7 @@
end

# This should only affect the exec title
let (:title) { 'express' }
let(:title) { 'express' }

# npm install <npm_package>
context 'with package set to express and target set to /home/npm/packages' do
Expand Down Expand Up @@ -413,7 +413,7 @@
end

# This should only affect the exec title
let (:title) { 'express' }
let(:title) { 'express' }

# npm install <package>
context 'with package set to express and target set to C:\packages' do
Expand Down
57 changes: 0 additions & 57 deletions spec/puppetlabs_spec/files.rb

This file was deleted.

48 changes: 0 additions & 48 deletions spec/puppetlabs_spec/fixtures.rb

This file was deleted.

84 changes: 0 additions & 84 deletions spec/puppetlabs_spec/matchers.rb

This file was deleted.

25 changes: 0 additions & 25 deletions spec/puppetlabs_spec_helper.rb

This file was deleted.

6 changes: 5 additions & 1 deletion spec/spec_helper_acceptance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
# systems fail on windows and osx, and install via gem on other *nixes
foss_opts = { :default_action => 'gem_install' }

if default.is_pe?; then install_pe; else install_puppet(foss_opts); end
if default.is_pe?
install_pe
else
install_puppet(foss_opts)
end

hosts.each do |host|
on host, "mkdir -p #{host['distmoduledir']}"
Expand Down