diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-02-01 00:57:41 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-02-01 00:57:41 +0000 |
| commit | a3a85d870c51d563d380b33b09b37d5fd144cd5f (patch) | |
| tree | bc694bb9a426519a8e4cd9dbc7349ca70c67eaa8 | |
| parent | f1deaa8cc69a4d6255840cd2480be633635c2b86 (diff) | |
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
| -rwxr-xr-x | test/rails/railsresource.rb | 4 |
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 |
