diff --git a/test/integration/default/golang_spec.rb b/test/integration/default/golang_spec.rb index 17ed458..e47eb2b 100644 --- a/test/integration/default/golang_spec.rb +++ b/test/integration/default/golang_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + go_path = '/home/kitchen/go' # GO GET @@ -13,10 +15,11 @@ 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