diff options
Diffstat (limited to 'test/rails/railsresource.rb')
-rwxr-xr-x | test/rails/railsresource.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rails/railsresource.rb b/test/rails/railsresource.rb index f16f925a8..36df881ca 100755 --- a/test/rails/railsresource.rb +++ b/test/rails/railsresource.rb @@ -24,11 +24,11 @@ class TestRailsResource < Test::Unit::TestCase # Now build a resource resource = host.resources.create( :title => "/tmp/to_resource", + :restype => "file", :exported => true) # For some reason the child class doesn't exist until after the resource is created. # Probably an issue with the dynamic class generation. - resource.type = "PuppetFile" resource.save # Now add some params |