File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ guard :rspec, cmd: "bundle exec rspec" do
41
41
dsl . watch_spec_files_for ( ruby . lib_files )
42
42
43
43
# Rails files
44
- rails = dsl . rails ( view_extensions : %w( erb haml slim ) )
44
+ rails = dsl . rails ( view_extensions : %w[ erb haml slim ] )
45
45
dsl . watch_spec_files_for ( rails . app_files )
46
46
dsl . watch_spec_files_for ( rails . views )
47
47
@@ -54,13 +54,13 @@ guard :rspec, cmd: "bundle exec rspec" do
54
54
end
55
55
56
56
# 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" }
60
60
61
61
# 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 ] } " ) }
64
64
65
65
# Turnip features and steps
66
66
watch ( %r{^spec/acceptance/(.+)\. feature$} )
You can’t perform that action at this time.
0 commit comments