lib/dockistrano/service.rb
def test
      environment = "test"
      unless test_command.nil? or test_command.empty?
        ensure_backing_services
        create_data_directories
        Docker.exec(full_image_name, command: test_command, link: link_backing_services, e: checked_environment_variables, v: volumes, rm: true)
      else
        true
      end
    end
# Tests the image of this services by running a test command
Tests the image of this services by running a test command
Tests the image of this services by running a test command
def test
      environment = "test"
      unless test_command.nil? or test_command.empty?
        ensure_backing_services
        create_data_directories
        Docker.exec(full_image_name, command: test_command, link: link_backing_services, e: checked_environment_variables, v: volumes, rm: true)
      else
        true
      end
    end
def test environment = "test" unless test_command . nil? or test_command . empty? ensure_backing_services create_data_directories Docker . exec ( full_image_name , command : test_command , link : link_backing_services , e : checked_environment_variables , v : volumes , rm : true ) else true end end
Tests the image of this services by running a test command
Tests the image of this services by running a test command