Story#110308584 - update tests of registrar

This commit is contained in:
Vladimir Krylov 2016-04-15 15:41:57 +03:00
parent 352159a4c0
commit 04aaa14db9
2 changed files with 5 additions and 1 deletions

View file

@ -113,7 +113,7 @@ class Invoice < ActiveRecord::Base
end
def description
"Order nr. #{number}"
read_attribute(__method__).presence || "Order nr. #{number}"
end
def pdf_name