Test Kitchen / Serverspec V2: Changes to spec_helper.rb

Serverspec 2 has just been released.

Some minor changes, including changes to the spec_helper.rb wrapper.

More details at:


This has replaced version 1:</strong>
require 'serverspec'

set :backend, :exec

<strong>version 1 (was):</strong>

require 'serverspec'
require 'pathname'
include Serverspec::Helper::Exec
include Serverspec::Helper::DetectOS

RSpec.configure do |c|
  c.before :all do
c.os = backend(Serverspec::Commands::Base).check_os

Author | Miles Davenport

Career programmer, who designs, assembles, fixes, and supports customers, software and systems.