diff options
Diffstat (limited to 'spec/integration/knife/serve_spec.rb')
-rw-r--r-- | spec/integration/knife/serve_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/integration/knife/serve_spec.rb b/spec/integration/knife/serve_spec.rb index 20e4e43586..32e633543d 100644 --- a/spec/integration/knife/serve_spec.rb +++ b/spec/integration/knife/serve_spec.rb @@ -20,12 +20,12 @@ require 'chef/knife/serve' require 'chef/server_api' describe 'knife serve' do - extend IntegrationSupport + include IntegrationSupport include KnifeSupport include AppServerSupport when_the_repository 'also has one of each thing' do - file 'nodes/x.json', { 'foo' => 'bar' } + before { file 'nodes/x.json', { 'foo' => 'bar' } } it 'knife serve serves up /nodes/x' do exception = nil |