summaryrefslogtreecommitdiff
path: root/spec/acceptance
diff options
context:
space:
mode:
authorDavid Schmitt <david.schmitt@puppet.com>2016-11-21 16:33:54 +0000
committerGitHub <noreply@github.com>2016-11-21 16:33:54 +0000
commit3762f301772cafc33c2e74356ebba287086869aa (patch)
treebae18ee10ae125473a9cadda3cf899f1088a3975 /spec/acceptance
parented97cd976eaf711856a1ac5ee087ddf0aa2225a2 (diff)
parent64abfc99c6222f22ccfbb39ae9ece5ccd41fa25c (diff)
Merge pull request #685 from HelenCampbell/errorDetail
Call site output for deprecation warnings
Diffstat (limited to 'spec/acceptance')
-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