mirror of
https://github.com/saltstack-formulas/packages-formula.git
synced 2025-04-16 17:50:24 +00:00
fix(golang_spec.rb): fix rubocop
errors
This commit is contained in:
parent
83ed92bf64
commit
08340c857a
1 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
go_path = '/home/kitchen/go'
|
||||
|
||||
# GO GET
|
||||
|
@ -13,10 +15,11 @@ control 'go get github.com/golang/example/hello' do
|
|||
it { should be_executable }
|
||||
end
|
||||
|
||||
%w(
|
||||
%w[
|
||||
github.com/golang/example/hello
|
||||
).each do |f|
|
||||
].each do |f|
|
||||
describe file("#{go_path}/src/#{f}") do
|
||||
it { should exist }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue