spec/spec_helper.rb in kumogata-0.2.18 vs spec/spec_helper.rb in kumogata-0.2.19

- old
+ new

@@ -4,9 +4,15 @@ class UUIDTools::UUID def self.timestamp_create; 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX'; end end +class Kumogata::Utils + def self.get_user_host + 'user-host' + end +end + def tempfile(content, template_ext) basename = "#{File.basename __FILE__}.#{$$}" basename = [basename, template_ext] Tempfile.open(basename) do |f|