diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-05 15:11:04 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-05 15:11:04 +0300 |
commit | 164ac94bbd2eadc02ab54322a6fe12ed48ae8041 (patch) | |
tree | 6eec29a4fd554eeb6f4a1b296e37bdf6fb5f6f80 /Guardfile | |
parent | 8934df30a36d16ac9de9aebb079e16f16fda6912 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'Guardfile')
-rw-r--r-- | Guardfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Guardfile b/Guardfile index 66a689ed978..cd4486db404 100644 --- a/Guardfile +++ b/Guardfile @@ -6,7 +6,7 @@ require "guard/rspec/dsl" cmd = ENV['GUARD_CMD'] || (ENV['SPRING'] ? 'spring rspec' : 'bundle exec rspec') -directories %w(app ee lib rubocop tooling spec) +directories %w[app ee lib rubocop tooling spec] rspec_context_for = proc do |context_path| OpenStruct.new(to_s: "spec").tap do |rspec| # rubocop:disable Style/OpenStructUse @@ -46,7 +46,7 @@ guard_setup = proc do |context_path| watch(%r{^#{context_path}(tooling/.+)\.rb$}) { |m| rspec.spec.call(m[1]) } # Rails files - rails = rails_context_for.call(context_path, %w(erb haml slim)) + rails = rails_context_for.call(context_path, %w[erb haml slim]) watch(rails.app_files) { |m| rspec.spec.call(m[1]) } watch(rails.views) { |m| rspec.spec.call(m[1]) } |