Skip to content

Commit

Permalink
Removing unnecessary Guardfile clauses
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Davey committed Oct 20, 2014
1 parent 294c4d5 commit 545f1bf
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Guardfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,5 @@ guard :rspec do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }

# Capybara features specs
watch(%r{^app/views/(.+)/.*\.(erb|haml|slim)$}) { |m| "spec/features/#{m[1]}_spec.rb" }

# Turnip features and steps
watch(%r{^spec/acceptance/(.+)\.feature$})
watch(%r{^spec/acceptance/steps/(.+)_steps\.rb$}) { |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'spec/acceptance' }
end

0 comments on commit 545f1bf

Please sign in to comment.