Add main link to each phase of the budget
Co-authored-by: decabeza <alberto@decabeza.es>
This commit is contained in:
@@ -2,6 +2,7 @@ require "rails_helper"
|
||||
|
||||
describe "Admin edit translatable records", :admin do
|
||||
before do
|
||||
translatable.main_link_url = "https://consulproject.org" if translatable.is_a?(Budget::Phase)
|
||||
translatable.update!(attributes)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user