summaryrefslogtreecommitdiff
path: root/spec/unit/util
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2014-12-16 22:19:41 -0800
committerBryan McLellan <btm@loftninjas.org>2014-12-17 20:16:14 -0500
commit69d5bb494a14f58b3590027da509eca9ac610c3b (patch)
tree581814d17f1ed4f106cefdfb4a7ed350e967b397 /spec/unit/util
parentff61089480e886e7b730b47ddd1771102285a842 (diff)
downloadchef-69d5bb494a14f58b3590027da509eca9ac610c3b.tar.gz
Rename Chef::Exceptions::LCMParserException to Chef::Exceptions::LCMParser
Diffstat (limited to 'spec/unit/util')
-rw-r--r--spec/unit/util/dsc/lcm_output_parser_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/util/dsc/lcm_output_parser_spec.rb b/spec/unit/util/dsc/lcm_output_parser_spec.rb
index 426102caca..347fddf03e 100644
--- a/spec/unit/util/dsc/lcm_output_parser_spec.rb
+++ b/spec/unit/util/dsc/lcm_output_parser_spec.rb
@@ -24,11 +24,11 @@ describe Chef::Util::DSC::LocalConfigurationManager::Parser do
str = <<-EOF
EOF
- expect {Chef::Util::DSC::LocalConfigurationManager::Parser::parse(str)}.to raise_error(Chef::Exceptions::LCMParserException)
+ expect {Chef::Util::DSC::LocalConfigurationManager::Parser::parse(str)}.to raise_error(Chef::Exceptions::LCMParser)
end
it 'raises an exception for a nil input' do
- expect {Chef::Util::DSC::LocalConfigurationManager::Parser::parse(nil)}.to raise_error(Chef::Exceptions::LCMParserException)
+ expect {Chef::Util::DSC::LocalConfigurationManager::Parser::parse(nil)}.to raise_error(Chef::Exceptions::LCMParser)
end
end