summaryrefslogtreecommitdiffstats
path: root/test/rails/railsresource.rb
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-07-18 17:32:46 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-07-18 17:32:46 +0000
commit53a469c0000eb1f487eab456c0986d427d714bd7 (patch)
treedd0f8c72a73f18371f50fa5559bb43d10b7301b5 /test/rails/railsresource.rb
parentd5569bcf30ad40b1780c1550368455127114cdd2 (diff)
downloadpuppet-53a469c0000eb1f487eab456c0986d427d714bd7.tar.gz
puppet-53a469c0000eb1f487eab456c0986d427d714bd7.tar.xz
puppet-53a469c0000eb1f487eab456c0986d427d714bd7.zip
Fixing #703, mostly. You still cannot do multi-condition queries, but you can at least query against any parameter, and matching any value is sufficient for a match, so the tags work fine.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2705 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/rails/railsresource.rb')
-rwxr-xr-xtest/rails/railsresource.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rails/railsresource.rb b/test/rails/railsresource.rb
index a7b6bbc02..32408db21 100755
--- a/test/rails/railsresource.rb
+++ b/test/rails/railsresource.rb
@@ -194,7 +194,7 @@ class TestExportedResources < PuppetTest::TestCase
res = mkresource :type => "file", :title => "/tmp/testing",
:source => @source, :scope => @scope,
:params => {:owner => "root", :source => ["/tmp/A", "/tmp/B"],
- :mode => "755", :require => [ref1, ref2]}
+ :mode => "755", :require => [ref1, ref2], :subscribe => ref1}
res.line = 50
@@ -214,7 +214,7 @@ class TestExportedResources < PuppetTest::TestCase
res = mkresource :type => "file", :title => "/tmp/testing",
:source => @source, :scope => @scope,
:params => {:owner => "bin", :source => ["/tmp/A", "/tmp/C"],
- :check => "checksum", :require => [ref1, ref2]}
+ :check => "checksum", :require => [ref1, ref2], :subscribe => ref2}
res.line = 75
res.exported = true