Domain transfer improvements, various test fixes

This commit is contained in:
Martin Lensment 2014-08-28 18:10:04 +03:00
parent 187316078b
commit 0adca73f88
5 changed files with 44 additions and 19 deletions

View file

@ -24,8 +24,11 @@ group :red_green_refactor, halt_on_fail:true do
watch(%r{^spec/acceptance/steps/(.+)_steps\.rb$}) { |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'spec/acceptance' }
end
guard :rubocop do
watch(%r{.+\.rb$})
watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
end
# Martin does not want rubocop
unless Socket.gethostname == 'martin'
guard :rubocop do
watch(%r{.+\.rb$})
watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
end
end
end