spec/spec_helper.rb in kumogata-0.2.19 vs spec/spec_helper.rb in kumogata-0.3.0
- old
+ new
@@ -10,9 +10,15 @@
def self.get_user_host
'user-host'
end
end
+class Kumogata::Crypt
+ def self.mkpasswd(n)
+ '*' * n
+ end
+end
+
def tempfile(content, template_ext)
basename = "#{File.basename __FILE__}.#{$$}"
basename = [basename, template_ext]
Tempfile.open(basename) do |f|