diff options
author | Luke Kanies <luke@madstop.com> | 2007-09-07 12:10:59 -0500 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2007-09-07 12:10:59 -0500 |
commit | 9af79f117221d93f0d13a2c5ea3e886c6a9d939e (patch) | |
tree | 1470b73877b2d46c16f0e6ff4b15d4088b6a636f /test/rails/configuration.rb | |
parent | 50874b2f1801b6ad2884803e98bbd220ef4af1bd (diff) | |
download | puppet-9af79f117221d93f0d13a2c5ea3e886c6a9d939e.tar.gz puppet-9af79f117221d93f0d13a2c5ea3e886c6a9d939e.tar.xz puppet-9af79f117221d93f0d13a2c5ea3e886c6a9d939e.zip |
Fixing some failed tests. Mostly cleanup. Next is to make all of the user tests pass again, dammit.
Diffstat (limited to 'test/rails/configuration.rb')
-rwxr-xr-x | test/rails/configuration.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/rails/configuration.rb b/test/rails/configuration.rb index 31d1cf779..752ea5375 100755 --- a/test/rails/configuration.rb +++ b/test/rails/configuration.rb @@ -24,11 +24,11 @@ class ConfigurationRailsTests < PuppetTest::TestCase # We need to make sure finished objects are stored in the db. def test_finish_before_store railsinit - config = mkconfig - config.ast_nodes = true - parser = config.parser + compile = mkcompile + compile.ast_nodes = true + parser = compile.parser - node = parser.newnode [config.node.name], :code => AST::ASTArray.new(:children => [ + node = parser.newnode [compile.node.name], :code => AST::ASTArray.new(:children => [ resourcedef("file", "/tmp/yay", :group => "root"), defaultobj("file", :owner => "root") ]) @@ -44,7 +44,7 @@ class ConfigurationRailsTests < PuppetTest::TestCase raise "Resource was not passed to store()" end end - config.compile + compile.compile end def test_hoststorage |