aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/models/concerns/stif_netex_attributes_support.rb2
-rw-r--r--spec/features/connection_links_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/models/concerns/stif_netex_attributes_support.rb b/app/models/concerns/stif_netex_attributes_support.rb
index 40fdb7444..0649db4ed 100644
--- a/app/models/concerns/stif_netex_attributes_support.rb
+++ b/app/models/concerns/stif_netex_attributes_support.rb
@@ -21,7 +21,7 @@ module StifNetexAttributesSupport
end
def objectid_format_compliance
- errors.add :objectid, I18n.t("activerecord.errors.models.stif_netex.invalid_object_id") if !objectid.valid?
+ errors.add :objectid, I18n.t("activerecord.errors.models.trident.invalid_object_id") if !objectid.valid?
end
def local_id
diff --git a/spec/features/connection_links_spec.rb b/spec/features/connection_links_spec.rb
index 0325e6e1c..7272242fe 100644
--- a/spec/features/connection_links_spec.rb
+++ b/spec/features/connection_links_spec.rb
@@ -34,7 +34,7 @@ RSpec.describe "ConnectionLinks", :type => :feature do
visit referential_connection_links_path(referential)
click_link "Ajouter une correspondance"
fill_in "Nom", :with => "ConnectionLink 1"
- fill_in "Identifiant Neptune", :with => "test:ConnectionLink:1"
+ fill_in "Identifiant Neptune", :with => "test:ConnectionLink:1:LOC"
click_button("Créer correspondance")
expect(page).to have_content("ConnectionLink 1")
end