lib/surrogate/api_comparer.rb in surrogate-0.6.4 vs lib/surrogate/api_comparer.rb in surrogate-0.6.5
- old
+ new
@@ -8,10 +8,9 @@
class ApiComparer
attr_accessor :surrogate, :actual
def initialize(actual, surrogate)
unless surrogate.instance_variable_get(:@hatchery).kind_of?(Hatchery) && surrogate.instance_variable_get(:@hatchling).kind_of?(Hatchling)
- Kernel.warn "You said #{actual} should substitute for #{surrogate}`, but as of 0.6.2, this should be asserted in the other direction."
surrogate, actual = actual, surrogate
end
self.surrogate, self.actual = surrogate, actual
end