diff options
Diffstat (limited to 'spec/unit/node_spec.rb')
-rw-r--r-- | spec/unit/node_spec.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/unit/node_spec.rb b/spec/unit/node_spec.rb index 55a858ce04..ec7beb9a50 100644 --- a/spec/unit/node_spec.rb +++ b/spec/unit/node_spec.rb @@ -1773,11 +1773,11 @@ describe Chef::Node do end let(:http_exception) do - begin - response.error! - rescue => e - e - end + + response.error! + rescue => e + e + end let(:trimmed_node) do |