Skip to content

Configuring Foodtaster

Mike Lapshin edited this page Nov 8, 2013 · 1 revision

You can configure Foodtaster in your spec_helper.rb file:

Foodtaster.configure do |config|
  config.drb_port = 33033
  config.log_level = :debug
end

Available settings are:

  • log_level - level of logger verbosity. Possible values: :debug, :info, :warn, :error, :fatal. Default is :info.
  • drb_port - port number where Foodtaster DRb Server is started. Default is 35672.
  • vagrant_binary - path to vagrant executable. Default is vagrant.
  • shutdown_vms - if set to true, Vagrant will halt all started VMs after specs are executed. Default is false.
  • skip_rollback - disable VM rollbacks before starting new spec. Default is false.
  • start_server - when set to false, Foodtaster will not start vagrant-foodtaster-server automatically. Default is true.
Clone this wiki locally