Skip to content

Commit

Permalink
Update fixture path in mkwhois
Browse files Browse the repository at this point in the history
  • Loading branch information
weppos committed Jan 22, 2011
1 parent 48649ac commit 8d08a4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/mkwhois
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 8d08a4d

Please sign in to comment.