Skip to content
Browse files

No need to require yaml.

  • Loading branch information...
1 parent dce2d2c commit 56a5ccdddaa569aff6dd9e14dea1f5613ca6c949 @justinko justinko committed Feb 11, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −1 lib/rspec/mocks/extensions/psych.rb
  2. +0 −1 spec/rspec/mocks/serialization_spec.rb
View
2 lib/rspec/mocks/extensions/psych.rb
@@ -12,7 +12,7 @@ def dump_with_mocks(object, *args)
begin
dump_without_mocks(object, *args)
ensure
- object.instance_variable_set(:@mock_proxy,mp)
+ object.instance_variable_set(:@mock_proxy, mp)
end
end
View
1 spec/rspec/mocks/serialization_spec.rb
@@ -1,5 +1,4 @@
require 'spec_helper'
-require 'yaml'
module RSpec
module Mocks

0 comments on commit 56a5ccd

Please sign in to comment.
Something went wrong with that request. Please try again.