summaryrefslogtreecommitdiffstats
path: root/test/rails/railsresource.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-02-29 11:51:15 -0600
committerLuke Kanies <luke@madstop.com>2008-02-29 11:51:15 -0600
commit857814ac80cf4f0c9913ccb6d2d42355670ea64f (patch)
tree203409b7f49fa17738c265f6917ffa04a19dda1d /test/rails/railsresource.rb
parent7ca0ad64f486c5dc50513e6d06c8e0725ce4f7f8 (diff)
downloadpuppet-857814ac80cf4f0c9913ccb6d2d42355670ea64f.tar.gz
puppet-857814ac80cf4f0c9913ccb6d2d42355670ea64f.tar.xz
puppet-857814ac80cf4f0c9913ccb6d2d42355670ea64f.zip
Fixing tests that did not work with Rails 2.
Diffstat (limited to 'test/rails/railsresource.rb')
-rwxr-xr-xtest/rails/railsresource.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/rails/railsresource.rb b/test/rails/railsresource.rb
index 58058472d..3df5001be 100755
--- a/test/rails/railsresource.rb
+++ b/test/rails/railsresource.rb
@@ -29,6 +29,7 @@ class TestRailsResource < Test::Unit::TestCase
def mktest_resource
# We need a host for resources
host = Puppet::Rails::Host.new(:name => "myhost")
+ host.save
# Now build a resource
resource = host.resources.create(