Commits

Michael Granger  committed 424709b

Don't try to deep copy Encoding objects, either

  • Participants
  • Parent commits 5b92693

Comments (0)

Files changed (1)

File lib/inversion/mixins.rb

 			return obj if obj.class.name == 'RSpec::Mocks::Mock'
 
 			return case obj
-				when NilClass, Numeric, TrueClass, FalseClass, Symbol, Module
+				when NilClass, Numeric, TrueClass, FalseClass, Symbol, Module, Encoding
 					obj
 
 				when Array