diff options
Diffstat (limited to 'spec/bundler')
-rw-r--r-- | spec/bundler/psyched_yaml_spec.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/bundler/psyched_yaml_spec.rb b/spec/bundler/psyched_yaml_spec.rb index 36ae2fc638..5f3c47bafd 100644 --- a/spec/bundler/psyched_yaml_spec.rb +++ b/spec/bundler/psyched_yaml_spec.rb @@ -1,7 +1,8 @@ require 'spec_helper' +require 'bundler/psyched_yaml' -describe YamlSyntaxError do +describe Bundler::YamlSyntaxError do it "is raised on YAML parse errors" do - expect{ YAML.parse "{foo" }.to raise_error(YamlSyntaxError) + expect{ YAML.parse "{foo" }.to raise_error(Bundler::YamlSyntaxError) end end |