spec/helper.rb in log_slice-0.3 vs spec/helper.rb in log_slice-0.4
- old
+ new
@@ -2,10 +2,10 @@
RSpec.configure do |c|
c.include(Module.new do
def enumerable_to_file range
- file = Tempfile.new("test-#{range}")
+ file = Tempfile.new("test-enum")
file.write(range.to_a.join("\n"))
file.flush
file.seek(0)
file
end
\ No newline at end of file