summaryrefslogtreecommitdiff
path: root/spec/acceptance/deprecation_spec.rb
diff options
context:
space:
mode:
authorEric Putnam <putnam.eric@gmail.com>2016-11-21 13:45:31 -0800
committerGitHub <noreply@github.com>2016-11-21 13:45:31 -0800
commit91ef0a1fdff12be7ce4c52a4d08f295891d7a5a0 (patch)
tree08bbe462028563052bcc4c885562326684a2c06e /spec/acceptance/deprecation_spec.rb
parent3762f301772cafc33c2e74356ebba287086869aa (diff)
parent91847caad08faba7f3cd12badff73a3f936ff9d1 (diff)
Merge pull request #692 from puppetlabs/revert-685-errorDetail
Revert "Call site output for deprecation warnings"
Diffstat (limited to 'spec/acceptance/deprecation_spec.rb')
-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 697c604..ea13700 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 at/)
+ expect(@result.stderr).to match(/deprecation. key. message/)
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 at /)
+ expect(@result.stderr).to match(/Warning: message/)
end
describe file("#{test_file}") do