spec/rspec/mocks/serialization_spec.rb in rspec-mocks-2.7.0 vs spec/rspec/mocks/serialization_spec.rb in rspec-mocks-2.8.0.rc1
- old
+ new
@@ -65,10 +65,10 @@
with_yaml_loaded do
compiled_with_psych = begin
require 'psych'
true
- rescue LoadError => e
+ rescue LoadError
false
end
if compiled_with_psych
context 'using Syck as the YAML engine' do