diff options
| author | Alban Peignier | 2018-02-22 10:56:39 +0100 |
|---|---|---|
| committer | Alban Peignier | 2018-02-22 10:56:39 +0100 |
| commit | 8aab474b8ad555b4d5f8e28c0af2f6c72741e317 (patch) | |
| tree | 99f34fccc7f5705a7df3bc9b7192774546446643 /spec/support/referential.rb | |
| parent | 04f26371e23a116cc7be22bd694010820d469e0c (diff) | |
| download | chouette-core-8aab474b8ad555b4d5f8e28c0af2f6c72741e317.tar.bz2 | |
Keep original slug format (with _). Avoid full numeric slug. Refs #56095609_slug_format
Diffstat (limited to 'spec/support/referential.rb')
| -rw-r--r-- | spec/support/referential.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/referential.rb b/spec/support/referential.rb index 19590191a..9acdce73a 100644 --- a/spec/support/referential.rb +++ b/spec/support/referential.rb @@ -1,7 +1,7 @@ module ReferentialHelper def first_referential - Referential.find_by!(:name => "first") + Referential.find_by!(:slug => "first") end def first_organisation @@ -64,7 +64,7 @@ RSpec.configure do |config| :referential, prefix: "first", name: "first", - slug: "first_#{Time.now.to_i}", + slug: "first", organisation: organisation, workbench: workbench, objectid_format: "stif_netex" |
