summaryrefslogtreecommitdiffstats
path: root/test/rails/railsresource.rb
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-02-01 00:57:41 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-02-01 00:57:41 +0000
commita3a85d870c51d563d380b33b09b37d5fd144cd5f (patch)
treebc694bb9a426519a8e4cd9dbc7349ca70c67eaa8 /test/rails/railsresource.rb
parentf1deaa8cc69a4d6255840cd2480be633635c2b86 (diff)
downloadpuppet-a3a85d870c51d563d380b33b09b37d5fd144cd5f.tar.gz
puppet-a3a85d870c51d563d380b33b09b37d5fd144cd5f.tar.xz
puppet-a3a85d870c51d563d380b33b09b37d5fd144cd5f.zip
fixing rails test to take into account the fact that resources now do not always return arrays
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2141 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 968e0e1b9..302dd99fb 100755
--- a/test/rails/railsresource.rb
+++ b/test/rails/railsresource.rb
@@ -66,8 +66,8 @@ class TestRailsResource < Test::Unit::TestCase
res = resource.to_resource(scope)
end
assert_instance_of(Puppet::Parser::Resource, res)
- assert_equal(["root"], res[:owner])
- assert_equal(["644"], res[:mode])
+ assert_equal("root", res[:owner])
+ assert_equal("644", res[:mode])
assert_equal("/tmp/to_resource", res.title)
assert_equal(source, res.source)
end