mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 01:33:36 +02:00
rubocop update, now it's green
This commit is contained in:
parent
2d6ed7fa45
commit
8d189023c7
29 changed files with 190 additions and 54 deletions
|
@ -26,7 +26,7 @@ if Rails.env.test? || Rails.env.development?
|
|||
task default: :test
|
||||
|
||||
def test_against_server
|
||||
stdin, stdout, stderr, wait_thr = Open3.popen3('unicorn -E test -p 8989')
|
||||
_stdin, _stdout, _stderr, wait_thr = Open3.popen3('unicorn -E test -p 8989')
|
||||
pid = wait_thr.pid
|
||||
begin
|
||||
yield
|
||||
|
|
|
@ -23,7 +23,6 @@ task 'whois:generate' => :environment do
|
|||
end
|
||||
|
||||
@domains.each do |k, v|
|
||||
file = File.open("tmp/whois/#{k}_domain.yaml", 'w') { |f| f.write(v.to_yaml) }
|
||||
File.open("tmp/whois/#{k}_domain.yaml", 'w') { |f| f.write(v.to_yaml) }
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue