summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaire McQuin <claire@getchef.com>2014-12-11 13:40:56 -0800
committerClaire McQuin <claire@getchef.com>2014-12-11 13:40:56 -0800
commit43e7b07cf4f5f9add5616df9fe6b0d9230c8fcb6 (patch)
treead6081d7e3c2d7d59a44de75ba04a1274a5ca866
parent808a0c6e81cdec0f910f189b0074ac704387e9a3 (diff)
downloadchef-43e7b07cf4f5f9add5616df9fe6b0d9230c8fcb6.tar.gz
Remove newline from expected message.
-rw-r--r--spec/unit/exceptions_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/exceptions_spec.rb b/spec/unit/exceptions_spec.rb
index 165c11446b..d35ecc8ec8 100644
--- a/spec/unit/exceptions_spec.rb
+++ b/spec/unit/exceptions_spec.rb
@@ -85,7 +85,7 @@ describe Chef::Exceptions do
describe Chef::Exceptions::RunFailedWrappingError do
shared_examples "RunFailedWrappingError expectations" do
it "should initialize with a default message" do
- expect(e.message).to eq("Found #{num_errors} errors, they are stored in the backtrace\n")
+ expect(e.message).to eq("Found #{num_errors} errors, they are stored in the backtrace")
end
it "should provide a modified backtrace when requested" do