summaryrefslogtreecommitdiff
path: root/spec/unit/ssl/host_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/ssl/host_spec.rb')
-rwxr-xr-xspec/unit/ssl/host_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/ssl/host_spec.rb b/spec/unit/ssl/host_spec.rb
index a9ab9b51e..a80fe9205 100755
--- a/spec/unit/ssl/host_spec.rb
+++ b/spec/unit/ssl/host_spec.rb
@@ -931,7 +931,7 @@ describe Puppet::SSL::Host do
"name" => host.name,
"desired_state" => host.desired_state,
}
- generated_host = Puppet::SSL::Host.from_pson(pson_hash)
+ generated_host = Puppet::SSL::Host.from_data_hash(pson_hash)
generated_host.desired_state.should == host.desired_state
generated_host.name.should == host.name
end