mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
Fix tests & CC
This commit is contained in:
parent
0161556c54
commit
66e05c7791
4 changed files with 9 additions and 8 deletions
|
@ -43,7 +43,7 @@ class LegalDocument < ApplicationRecord
|
|||
break unless File.file?(path)
|
||||
end
|
||||
|
||||
File.open(path, 'wb') { |f| f.write(binary) } if !Rails.env.test?
|
||||
File.open(path, 'wb') { |f| f.write(binary) } unless Rails.env.test?
|
||||
self.path = path
|
||||
self.checksum = digest
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue