From 622d886e6c4bc8a0ff41c0b46b6a354871144535 Mon Sep 17 00:00:00 2001 From: Chris Fordham Date: Fri, 5 Dec 2014 20:29:04 +1100 Subject: [PATCH] Remove Serverspec::Helper includes and add backend for serverspec 2.x (http://stackoverflow.com/a/26285281). --- templates/serverspec/spec_helper.rb.erb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/serverspec/spec_helper.rb.erb b/templates/serverspec/spec_helper.rb.erb index 219f365..9f7df94 100644 --- a/templates/serverspec/spec_helper.rb.erb +++ b/templates/serverspec/spec_helper.rb.erb @@ -1,8 +1,7 @@ # Encoding: utf-8 require 'serverspec' -include Serverspec::Helper::Exec -include Serverspec::Helper::DetectOS +set :backend, :exec RSpec.configure do |c| c.before :all do