import java.io.PrintWriter

import org.specs2.mutable._
import settings.TaskSettings
import task.CommandLineRunner

class WatcherSpec extends Specification {
  val command = TaskSettings.command
  val repoDir = TaskSettings.repositories

  "When watching the queue it" should {
    "execute the task correctly" in {
/*
      val queue = new TestQueue
      val data = new TestDatabase
      val runner = new CommandLineRunner(repoDir, command, new PrintWriter(null, true))

      Watcher.watch(queue, data, runner)
*/
      true must beTrue
    }
  }
}

import java.io.PrintWriter

import org.specs2.mutable._
import settings.TaskSettings
import task.CommandLineRunner

class WatcherSpec extends Specification {
/*
  val command = TaskSettings.command
  val repoDir = TaskSettings.repositories

  "When watching the queue it" should {
    "execute the task correctly" in {
      val queue = new TestQueue
      val data = new TestDatabase
      val runner = new CommandLineRunner(repoDir, command, new PrintWriter(System.out, true))

      Watcher.watch(queue, data, runner)
      true must beTrue
    }
  }
*/
}

Disable settings initialization in test
Disable settings initialization in test
