Add main link to each phase of the budget
Co-authored-by: decabeza <alberto@decabeza.es>
This commit is contained in:
@@ -13,7 +13,7 @@ shared_examples_for "globalizable" do |factory_name|
|
||||
let(:attribute) { required_fields.sample || fields.sample }
|
||||
|
||||
before do
|
||||
if factory_name == :budget
|
||||
if factory_name == :budget || factory_name == :budget_phase
|
||||
record.main_link_url = "https://consulproject.org"
|
||||
end
|
||||
record.update!(attribute => "In English")
|
||||
|
||||
Reference in New Issue
Block a user