$:.unshift File.join(File.dirname(__FILE__), '..', '..', '..', 'lib') require 'spec' require 'buildmaster/windows/sql_server_driver' require 'buildmaster/cotta' require 'buildmaster/cotta/in_memory_system' module BuildMaster context 'Microsoft SQL server driver' do def setup @system = InMemorySystem.new @server = SqlServerDriver.new(Cotta.new(@system)) end specify 'should control sql server - but need SQL server installed and not running' do @server = SqlServerDriver.new @server.start @server.status @server.stop end end end