summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2015-05-03 13:12:15 -0600
committermo khan <mo@mokhan.ca>2015-05-03 13:12:15 -0600
commit9d30e944bd0b1168565b5d0dbc4e3a9585f8c809 (patch)
tree6ec1fd73d9ab3dd5bc19cda7baeb1391ffc0ebe3 /spec
parent9e2a1e642be071fba5a9806a2ff085eee5c0a832 (diff)
require chefspec/berkshelf to resolve dependencies on other cookbooks.
Diffstat (limited to 'spec')
-rw-r--r--spec/capistrano_spec.rb1
-rw-r--r--spec/spec_helper.rb1
2 files changed, 1 insertions, 1 deletions
diff --git a/spec/capistrano_spec.rb b/spec/capistrano_spec.rb
index 7c2d498..1aecbc5 100644
--- a/spec/capistrano_spec.rb
+++ b/spec/capistrano_spec.rb
@@ -3,7 +3,6 @@ describe 'mokhan-myface::capistrano' do
ChefSpec::SoloRunner.new do |node|
node.set['capistrano']['root_path'] = root_path
node.set['capistrano']['username'] = username
- #node.set['capistrano']['env'] = environment_variables
end.converge(described_recipe)
end
let(:root_path) { "/var/www/#{FFaker::Internet.domain_name}" }
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 9ec369a..a849feb 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -12,6 +12,7 @@
# the additional setup, and require it from the spec files that actually need
# it.
require 'chefspec'
+require 'chefspec/berkshelf'
require 'ffaker'
# The `.rspec` file also contains a few flags that are not defaults but that