summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorHelen Campbell <helen@puppetlabs.com>2016-11-07 14:52:12 +0000
committerHelen Campbell <helen@puppetlabs.com>2016-11-21 14:35:42 +0000
commit64abfc99c6222f22ccfbb39ae9ece5ccd41fa25c (patch)
treed4dca97d5188c4aebe3f4e4206c3f141180516bd /spec
parentdcef77af4cef2870874f76c06e92f601aeb5bc0c (diff)
Call site display for deprecation warnings
Diffstat (limited to 'spec')
-rw-r--r--spec/acceptance/deprecation_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/acceptance/deprecation_spec.rb b/spec/acceptance/deprecation_spec.rb
index ea13700..697c604 100644
--- a/spec/acceptance/deprecation_spec.rb
+++ b/spec/acceptance/deprecation_spec.rb
@@ -31,7 +31,7 @@ describe 'deprecation function' do
end
it "should show the error message" do
- expect(@result.stderr).to match(/deprecation. key. message/)
+ expect(@result.stderr).to match(/deprecation. key. message at/)
end
describe file("#{test_file}") do
@@ -53,7 +53,7 @@ describe 'deprecation function' do
end
it "should show the error message" do
- expect(@result.stderr).to match(/Warning: message/)
+ expect(@result.stderr).to match(/Warning: message at /)
end
describe file("#{test_file}") do