Skip to content

Commit

Permalink
Fix robocop warnings/errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Dubicki committed Nov 4, 2018
1 parent 689a986 commit d444fc1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
7 changes: 3 additions & 4 deletions spec/defines/dotfile_spec.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
require 'spec_helper'

describe 'python::dotfile', type: :define do # rubocop:disable RSpec/MultipleDescribes

describe 'python::dotfile', type: :define do
on_supported_os.each do |os, facts|
context("on #{os} ") {
context("on #{os} ") do
let :facts do
facts
end
Expand Down Expand Up @@ -32,6 +31,6 @@
it { is_expected.to contain_file('/home/someuser/.pip/pip.conf').with_mode('0644') }
end
end
}
end
end
end
6 changes: 3 additions & 3 deletions spec/defines/pyvenv_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

describe 'python::pyvenv', type: :define do
on_supported_os.each do |os, facts|
context("on #{os} ") {
context("on #{os} ") do
let :facts do
facts
end
Expand All @@ -19,7 +19,7 @@
context 'is absent' do
let :params do
{
ensure: 'absent'
ensure: 'absent'
}
end

Expand All @@ -28,6 +28,6 @@
}
end
end
}
end
end
end

0 comments on commit d444fc1

Please sign in to comment.