Skip to content

Commit 58c5148

Browse files
author
Alistair Stead
committed
Add feature steps
1 parent cb02d40 commit 58c5148

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

test/features/step_definitions/varnish_steps.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
end
1313

1414
When /^the service status is requested$/ do
15-
pending # express the regexp above with the code you wish you had
15+
@status = `sudo service varnish status`
1616
end
1717

1818
Then /^it should be running$/ do

test/kitchen/Kitchenfile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
cookbook "chef-varnish" do
2+
configuration "default"
23
runtimes []
34
end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include_recipe "chef-varnish::default"

0 commit comments

Comments
 (0)