Skip to content

Commit

Permalink
No need to require yaml.
Browse files Browse the repository at this point in the history
  • Loading branch information
justinko committed Feb 11, 2012
1 parent dce2d2c commit 56a5ccd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion lib/rspec/mocks/extensions/psych.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion spec/rspec/mocks/serialization_spec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
require 'spec_helper'
require 'yaml'

module RSpec
module Mocks
Expand Down

0 comments on commit 56a5ccd

Please sign in to comment.