diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-01-02 20:23:27 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-01-02 20:23:27 +0000 |
| commit | 50965c7a0f4f9cf342c469f8d586d0a2f2b4efa8 (patch) | |
| tree | e2fc3e9333e1dd7877ae00f17959cf50cdc42be1 /test | |
| parent | 373f1770de9a6f3c741832cc86f0bcdc30a14bce (diff) | |
Changing "sourcematch" to "sourceselect"
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2017 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test')
| -rwxr-xr-x | test/types/filesources.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/types/filesources.rb b/test/types/filesources.rb index 49ef73fe2..1a4c61793 100755 --- a/test/types/filesources.rb +++ b/test/types/filesources.rb @@ -936,7 +936,7 @@ class TestFileSources < Test::Unit::TestCase assert_equal("yayness\n", File.read(newfile)) end - def test_sourcematch + def test_sourceselect dest = tempfile() sources = [] 2.times { |i| @@ -961,7 +961,7 @@ class TestFileSources < Test::Unit::TestCase obj = Puppet::Type.newfile(:path => dest, :recurse => true, :source => sources) - assert_equal(:first, obj[:sourcematch], "sourcematch has the wrong default") + assert_equal(:first, obj[:sourceselect], "sourceselect has the wrong default") # First, make sure we default to just copying file1 assert_apply(obj) @@ -970,9 +970,9 @@ class TestFileSources < Test::Unit::TestCase assert(FileTest.exists?(file3), "File from source 1 was not copied") assert_equal("0", File.read(file3), "file3 got wrong contents") - # Now reset sourcematch + # Now reset sourceselect assert_nothing_raised do - obj[:sourcematch] = :all + obj[:sourceselect] = :all end File.unlink(file1) File.unlink(file3) |
