lib/cistern/mock.rb in cistern-2.2.3 vs lib/cistern/mock.rb in cistern-2.2.4
- old
+ new
@@ -1,8 +1,8 @@
module Cistern
class Mock
- def self.not_implemented(method="")
- raise NotImplementedError, method ? "The call '#{method}' is not implemented" : ""
+ def self.not_implemented(method = '')
+ fail NotImplementedError, method ? "The call '#{method}' is not implemented" : ''
end
def self.random_hex(length)
rand(('f' * length).to_i(16)).to_s(16).rjust(length, '0')
end