Sha256: a0b155d089c3bc725e08442af8bcd59ccc671e2727decce85f1a1198611e64a0

Contents?: true

Size: 724 Bytes

Versions: 4

Compression:

Stored size: 724 Bytes

Contents

guard :rspec do
  # Unit tests
  watch(%r{^spec/unit/.+_spec\.rb$})
  watch(%r{^lib/(.+)\.rb$})            { |m| "spec/unit/#{m[1]}_spec.rb" }
  watch('spec/spec_helper.rb')         { "spec/unit" }
  watch('spec/unit/spec_helper.rb')    { "spec/unit" }
  watch(%r{^spec/unit/data/.+\.json$}) { "spec/unit" }

  # Integration tests
  watch(%r{^spec/integration/.+_spec\.rb$})
  watch(%r{^spec/integration/utils/.+\.rb$})  { "spec/integration" }
  watch(%r{^lib/.+.rb$})                      { "spec/integration" }
  watch('spec/spec_helper.rb')                { "spec/integration" }
  watch('spec/integration/spec_helper.rb')    { "spec/integration" }
  watch(%r{^spec/integration/data/.+\.json$}) { "spec/integration" }
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pacto-0.2.5 Guardfile
pacto-0.2.4 Guardfile
pacto-0.2.3 Guardfile
pacto-0.2.2 Guardfile