Permalink
Browse files

Add a couple small examples

  • Loading branch information...
1 parent 6331c32 commit eb91c4e3d7c0930dfb4d12fa29c7d4c5da15754b Bruce Williams committed Apr 9, 2010
@@ -0,0 +1,3 @@
+file { "/tmp/foo":
+ ensure => present
+}
View
@@ -0,0 +1,3 @@
+#!/usr/bin/env
+
+stringup execute scenarios.rb manifest.pp
@@ -0,0 +1,5 @@
+command 'puppet %s'
+
+scenario :creation, "Creates a file" do
+ assert_creates '/tmp/foo'
+end
View
@@ -0,0 +1,3 @@
+#!/usr/bin/env
+
+stringup execute scenarios.rb
@@ -1,5 +1,5 @@
command 'touch /tmp/foo'
-scenario :new, "Creates a file" do
+scenario :creation, "Creates a file" do
assert_creates '/tmp/foo'
end

0 comments on commit eb91c4e

Please sign in to comment.