aboutsummaryrefslogtreecommitdiffstats
path: root/spec/support/referential.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/referential.rb')
-rw-r--r--spec/support/referential.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/referential.rb b/spec/support/referential.rb
index 9acdce73a..19590191a 100644
--- a/spec/support/referential.rb
+++ b/spec/support/referential.rb
@@ -1,7 +1,7 @@
module ReferentialHelper
def first_referential
- Referential.find_by!(:slug => "first")
+ Referential.find_by!(:name => "first")
end
def first_organisation
@@ -64,7 +64,7 @@ RSpec.configure do |config|
:referential,
prefix: "first",
name: "first",
- slug: "first",
+ slug: "first_#{Time.now.to_i}",
organisation: organisation,
workbench: workbench,
objectid_format: "stif_netex"