From 8d08a4d875b73193c404aa5a1cafbfbd7b90a116 Mon Sep 17 00:00:00 2001 From: Simone Carletti Date: Sat, 22 Jan 2011 20:18:01 +0100 Subject: [PATCH] Update fixture path in mkwhois --- utils/mkwhois | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/mkwhois b/utils/mkwhois index 812ad64f4..c0fb5aa19 100755 --- a/utils/mkwhois +++ b/utils/mkwhois @@ -12,7 +12,7 @@ r = Whois.query(d) if r.parts.size == 1 r.parts.each do |part| - p = File.expand_path("../../test/fixtures/responses/#{part.host}/#{n}", __FILE__) + p = File.expand_path("../../spec/fixtures/responses/#{part.host}/#{n}", __FILE__) FileUtils.mkdir_p(File.dirname(p)) File.open(p, "w+") { |f| f.write(part.body) } puts "Saved #{p}"