Skip to content

Commit 085eee9

Browse files
committed
lint guardfile
1 parent 61484dd commit 085eee9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Guardfile

+6-6
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ guard :rspec, cmd: "bundle exec rspec" do
4141
dsl.watch_spec_files_for(ruby.lib_files)
4242

4343
# Rails files
44-
rails = dsl.rails(view_extensions: %w(erb haml slim))
44+
rails = dsl.rails(view_extensions: %w[erb haml slim])
4545
dsl.watch_spec_files_for(rails.app_files)
4646
dsl.watch_spec_files_for(rails.views)
4747

@@ -54,13 +54,13 @@ guard :rspec, cmd: "bundle exec rspec" do
5454
end
5555

5656
# Rails config changes
57-
watch(rails.spec_helper) { rspec.spec_dir }
58-
watch(rails.routes) { "#{rspec.spec_dir}/routing" }
59-
watch(rails.app_controller) { "#{rspec.spec_dir}/controllers" }
57+
watch(rails.spec_helper) { rspec.spec_dir }
58+
watch(rails.routes) { "#{rspec.spec_dir}/routing" }
59+
watch(rails.app_controller) { "#{rspec.spec_dir}/controllers" }
6060

6161
# Capybara features specs
62-
watch(rails.view_dirs) { |m| rspec.spec.call("features/#{m[1]}") }
63-
watch(rails.layouts) { |m| rspec.spec.call("features/#{m[1]}") }
62+
watch(rails.view_dirs) { |m| rspec.spec.call("features/#{m[1]}") }
63+
watch(rails.layouts) { |m| rspec.spec.call("features/#{m[1]}") }
6464

6565
# Turnip features and steps
6666
watch(%r{^spec/acceptance/(.+)\.feature$})

0 commit comments

Comments
 (0)